We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f500fc9 commit d724552Copy full SHA for d724552
index.js
@@ -1341,7 +1341,7 @@ var dll = get_dll();
1341
if(dll === null)
1342
throw new Error('autoit can not run on this platform!');
1343
1344
-var autoit_dll = ffi.Library(path.join(__dirname, dll), autoit_functions);
+var autoit_dll = ffi.Library(path.join(process.cwd(), dll), autoit_functions);
1345
1346
function modify_func(func){
1347
var old_func = autoit_dll[func];
0 commit comments