rpi (armv6) bin add
This commit is contained in:
		
							parent
							
								
									bf5de38e66
								
							
						
					
					
						commit
						d39d77ab3a
					
				
							
								
								
									
										1
									
								
								bin/linux_armv6/torrent2http.size.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								bin/linux_armv6/torrent2http.size.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
24522477
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								bin/linux_armv6/torrent2http.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bin/linux_armv6/torrent2http.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@ -17,6 +17,8 @@ class Platform:
 | 
			
		||||
    def arch():
 | 
			
		||||
        if sys.platform.lower().startswith('linux') and (uname()[4].lower().startswith('arm') or
 | 
			
		||||
                                                         uname()[4].lower().startswith('aarch')):
 | 
			
		||||
            if uname()[4].lower().startswith('armv6'):
 | 
			
		||||
                return "armv6"
 | 
			
		||||
            return 'arm'
 | 
			
		||||
        elif sys.maxsize > 2**32:
 | 
			
		||||
            return 'x64'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user