forked from p34709852/monkey
Agent: Remove references to 32-bit agents in monkey.spec
This commit is contained in:
parent
0a7637c944
commit
e21f643014
|
@ -43,10 +43,6 @@ def is_windows():
|
||||||
return platform.system().find("Windows") >= 0
|
return platform.system().find("Windows") >= 0
|
||||||
|
|
||||||
|
|
||||||
def is_32_bit():
|
|
||||||
return sys.maxsize <= 2 ** 32
|
|
||||||
|
|
||||||
|
|
||||||
def get_bin_folder():
|
def get_bin_folder():
|
||||||
return os.path.join('.', 'bin')
|
return os.path.join('.', 'bin')
|
||||||
|
|
||||||
|
@ -73,15 +69,10 @@ def get_hidden_imports():
|
||||||
def get_monkey_filename():
|
def get_monkey_filename():
|
||||||
name = 'monkey-'
|
name = 'monkey-'
|
||||||
if is_windows():
|
if is_windows():
|
||||||
name = name + "windows-"
|
name = name + "windows-64.exe"
|
||||||
else:
|
else:
|
||||||
name = name + "linux-"
|
name = name + "linux-64"
|
||||||
if is_32_bit():
|
|
||||||
name = name + "32"
|
|
||||||
else:
|
|
||||||
name = name + "64"
|
|
||||||
if is_windows():
|
|
||||||
name = name + ".exe"
|
|
||||||
return name
|
return name
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue