From 92511a8457516d5d75656d3915f9b1e32fd1bc4d Mon Sep 17 00:00:00 2001 From: Theenoro Date: Sat, 23 Sep 2017 18:15:08 +0200 Subject: [PATCH] 1.5.1.1 --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a297fc7..6ba9686 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,8 @@ let tray_win = null; if (!fs.existsSync(global.dir+'/tmp/inst')) { fs.writeFileSync(global.dir+'/tmp/inst',"out"); - var win; + app.quit(); + /*var win; const createWindow = () =>{ win = new BrowserWindow({ width: 320, @@ -41,6 +42,7 @@ if (!fs.existsSync(global.dir+'/tmp/inst')) { app.quit(); } }); + */ }else{ var win ; app.getPath('documents')