diff --git a/main.js b/main.js index 8d1872f..16b6f59 100644 --- a/main.js +++ b/main.js @@ -110,7 +110,7 @@ app.on('ready', createWindow) app.on('window-all-closed', () => { // On macOS it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q - if (process.platform !== 'darwin') { + //if (process.platform !== 'darwin') { app.quit() - } + //} }) diff --git a/package.sh b/package.sh index 157e8bf..b923196 100755 --- a/package.sh +++ b/package.sh @@ -1,2 +1,8 @@ # Mac OS X electron-packager . "MillionHopes" --all --overwrite --icon icon.icns --out out +cd out +rm *.zip +for f in MillionHopes-* +do +zip -r $f.zip $f +done