mirror of
https://github.com/fastogt/pyfastogt
synced 2025-03-09 23:38:55 +00:00
AMD64
This commit is contained in:
parent
2eb5e72dad
commit
96fa274aa7
1 changed files with 5 additions and 2 deletions
|
@ -68,7 +68,7 @@ class SupportedPlatform(object):
|
||||||
|
|
||||||
SUPPORTED_PLATFORMS = [SupportedPlatform('linux', [Architecture('x86_64', 64, '/usr/local'),
|
SUPPORTED_PLATFORMS = [SupportedPlatform('linux', [Architecture('x86_64', 64, '/usr/local'),
|
||||||
Architecture('i386', 32, '/usr/local'),
|
Architecture('i386', 32, '/usr/local'),
|
||||||
Architecture('arm', 32, '/usr/local')], ['DEB', 'RPM', 'TGZ']),
|
Architecture('armv7l', 32, '/usr/local')], ['DEB', 'RPM', 'TGZ']),
|
||||||
SupportedPlatform('windows',
|
SupportedPlatform('windows',
|
||||||
[Architecture('x86_64', 64, '/mingw64'), Architecture('i386', 32, '/mingw32')],
|
[Architecture('x86_64', 64, '/mingw64'), Architecture('i386', 32, '/mingw32')],
|
||||||
['NSIS', 'ZIP']),
|
['NSIS', 'ZIP']),
|
||||||
|
@ -116,7 +116,10 @@ def get_os():
|
||||||
|
|
||||||
|
|
||||||
def get_arch_name():
|
def get_arch_name():
|
||||||
return platform.processor()
|
arch = platform.machine()
|
||||||
|
if arch == 'AMD64':
|
||||||
|
return 'x86_64'
|
||||||
|
return arch
|
||||||
|
|
||||||
|
|
||||||
def get_supported_platform_by_name(platform):
|
def get_supported_platform_by_name(platform):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue