Skip to content

Commit cfc564e

Browse files
authored
switch electron to 0.37.8 to temp fix broken 0.30.0 (#345)
1 parent 0949940 commit cfc564e

File tree

3 files changed

+1580
-1055
lines changed

3 files changed

+1580
-1055
lines changed

frontend/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,8 @@ var mainWindow = null;
157157

158158
// Quit when all windows are closed.
159159
app.on('window-all-closed', function() {
160-
// On OS X it is common for applications and their menu bar
161-
// to stay active until the user quits explicitly with Cmd + Q
162-
if (process.platform != 'darwin') {
163-
app.quit();
164-
}
160+
app.quit();
161+
process.exit();
165162
});
166163

167164

@@ -247,6 +244,7 @@ app.on('ready', function() {
247244
mainWindow.on('closed', function() {
248245

249246
mainWindow = null;
247+
app.quit();
250248
process.exit();
251249
// Dereference the window object, usually you would store windows
252250
// in an array if your app supports multi windows, this is the time

0 commit comments

Comments
 (0)