electron-react-tutorial
electron-react-tutorial copied to clipboard
start command fails on windows
the start command in package.json
"start": "./node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron .",
fails on windows. I replaced it with
"start": "electron .",
to get it working on windows.
maybe both start commands could be present like in
"startOsx": "./node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron .",
"startWin": "electron .",
and then the user would have to enter
npm startOsx
or npm startWin