Update winlibs.js

This commit is contained in:
Namhyeon Go 2020-07-26 18:30:12 +09:00
parent 7f5e8657ce
commit 893e35c257

View File

@ -19,8 +19,10 @@ exports.loadLibrary = function(LIB) {
commandOptions.push("rundll32.exe");
commandOptions.push(LIB + ".dll," + FN);
commandOptions.push("\"" + args.join("\" \"") + "\"");
if (typeof(args) !== "undefined") {
commandOptions.push("\"" + args.join("\" \"") + "\"");
}
return SHELL.exec(commandOptions.join(' '));
}
};