forked from p34709852/monkey
Merge pull request #533 from guardicore/bugfix/handle_platform_correctly
Bugfix, installer should go according to Python bitnes
This commit is contained in:
commit
32db1cae1b
|
@ -1,5 +1,6 @@
|
|||
# -*- mode: python -*-
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
|
||||
|
@ -48,7 +49,7 @@ def is_windows():
|
|||
|
||||
|
||||
def is_32_bit():
|
||||
return platform.architecture()[0] == "32bit"
|
||||
return sys.maxsize <= 2**32
|
||||
|
||||
|
||||
def get_bin_folder():
|
||||
|
|
Loading…
Reference in New Issue