Skip to content

Commit 8b6abe6

Browse files
committed
Use the right runtime and target for node-webkit.
1 parent f55cf84 commit 8b6abe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lifecycleScripts/install.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ return whichNativeNodish("..")
3434
if (asVersion) {
3535
args.push("--runtime=electron");
3636
args.push("--target=" + asVersion);
37+
} else if (nwVersion) {
38+
args.push("--runtime=node-webkit");
39+
args.push("--target=" + nwVersion);
3740
}
3841
return installPrebuilt(args);
3942
});

0 commit comments

Comments
 (0)