summaryrefslogtreecommitdiff
path: root/electron_js/main.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-08 07:27:14 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-08 07:27:14 -0500
commitdf38c88b21af367c8568d495a6e5e3f42ab17f31 (patch)
treed3f764e8df0e1cb03e2d1dace3d279157eb63278 /electron_js/main.js
parentd80bd1abf0f849a2eb4183c135e7ac2128870522 (diff)
removed OSX stay open on close function - doesn't seem to work
Former-commit-id: d7444c0705ce6d5db605e6db42b8c9b70145cc00
Diffstat (limited to 'electron_js/main.js')
-rw-r--r--electron_js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/electron_js/main.js b/electron_js/main.js
index e905b73c..3dfb8d6b 100644
--- a/electron_js/main.js
+++ b/electron_js/main.js
@@ -13,9 +13,9 @@ var mainWindow = null;
app.on('window-all-closed', function() {
// On OS X 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();
- }
+ //}
});
// This method will be called when Electron has finished