mirror of
https://github.com/fastogt/pyfastogt
synced 2025-03-09 23:38:55 +00:00
amd64
This commit is contained in:
parent
9a214468d1
commit
1058c5e269
1 changed files with 3 additions and 2 deletions
|
@ -114,6 +114,7 @@ class RedHatPlatform(Platform):
|
||||||
class LinuxPlatforms(SupportedPlatforms):
|
class LinuxPlatforms(SupportedPlatforms):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
SupportedPlatforms.__init__(self, 'linux', [Architecture('x86_64', 64, '/usr/local'),
|
SupportedPlatforms.__init__(self, 'linux', [Architecture('x86_64', 64, '/usr/local'),
|
||||||
|
Architecture('amd64', 64, '/usr/local'),
|
||||||
Architecture('i386', 32, '/usr/local'),
|
Architecture('i386', 32, '/usr/local'),
|
||||||
Architecture('aarch64', 64, '/usr/local'),
|
Architecture('aarch64', 64, '/usr/local'),
|
||||||
Architecture('armv7l', 32, '/usr/local'),
|
Architecture('armv7l', 32, '/usr/local'),
|
||||||
|
@ -219,7 +220,7 @@ def get_extension_by_package(package_type) -> str:
|
||||||
elif package_type == 'APK':
|
elif package_type == 'APK':
|
||||||
return 'apk'
|
return 'apk'
|
||||||
else:
|
else:
|
||||||
return None
|
return 'unknown'
|
||||||
|
|
||||||
|
|
||||||
def get_os() -> str:
|
def get_os() -> str:
|
||||||
|
@ -237,7 +238,7 @@ def get_os() -> str:
|
||||||
elif uname_str == 'Android':
|
elif uname_str == 'Android':
|
||||||
return 'android'
|
return 'android'
|
||||||
else:
|
else:
|
||||||
return None
|
return 'unknown'
|
||||||
|
|
||||||
|
|
||||||
def get_arch_name() -> str:
|
def get_arch_name() -> str:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue