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')) {
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')