mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
64-bit build support. Thanks to Ariel Shiftan and Itai Shaham for the initial patch.
This commit is contained in:
+5
-1
@@ -99,7 +99,11 @@ sys.stdout = sys.stderr = MyStdOut()
|
||||
sys.argv = [ "" ]
|
||||
|
||||
# Have to make sure Python finds our modules
|
||||
sys.path.append(_idaapi.idadir("python"))
|
||||
if _idaapi.idainfo_is_64bit(_idaapi.cvar.inf):
|
||||
pythonDir = "python64"
|
||||
else:
|
||||
pythonDir = "python"
|
||||
sys.path.append(_idaapi.idadir(pythonDir))
|
||||
|
||||
print_banner()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user