From ce9f1224b01d480d65b1285d01d0a25966db08ae Mon Sep 17 00:00:00 2001 From: Alessandro ZANNI Date: Wed, 7 Sep 2016 10:03:52 +0200 Subject: [PATCH] lazagne for windows x64 bits --- pupy/modules/lazagne.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pupy/modules/lazagne.py b/pupy/modules/lazagne.py index 90f65aa1..e8f435ff 100644 --- a/pupy/modules/lazagne.py +++ b/pupy/modules/lazagne.py @@ -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")