Last active
August 23, 2018 08:16
-
-
Save dai-shi/15d8edac8075fc70e36f10fa531540a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const electronInstaller = require('electron-winstaller'); | |
(async () => { | |
try { | |
const options = JSON.parse(process.env.OPTIONS || process.argv[process.argv.length - 1]); | |
await electronInstaller.createWindowsInstaller(options); | |
} catch (e) { | |
console.error(e); | |
} | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "electron-winstaller-runner", | |
"version": "1.0.0", | |
"bin": "./index.js", | |
"dependencies": { | |
"electron-winstaller": "latest" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment