This commit is contained in:
Theenoro 2017-09-23 18:15:08 +02:00
parent 46435b7e52
commit 92511a8457

View File

@ -19,7 +19,8 @@ let tray_win = null;
if (!fs.existsSync(global.dir+'/tmp/inst')) { if (!fs.existsSync(global.dir+'/tmp/inst')) {
fs.writeFileSync(global.dir+'/tmp/inst',"out"); fs.writeFileSync(global.dir+'/tmp/inst',"out");
var win; app.quit();
/*var win;
const createWindow = () =>{ const createWindow = () =>{
win = new BrowserWindow({ win = new BrowserWindow({
width: 320, width: 320,
@ -41,6 +42,7 @@ if (!fs.existsSync(global.dir+'/tmp/inst')) {
app.quit(); app.quit();
} }
}); });
*/
}else{ }else{
var win ; var win ;
app.getPath('documents') app.getPath('documents')