third time's the charm?

This commit is contained in:
cantbesure1
2017-11-12 13:47:34 -08:00
parent 091c843459
commit e21cf2cbf2
8 changed files with 119 additions and 50 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ let win
app.on('ready', () =>
{
win = new BrowserWindow({width: 390, height: 420, backgroundColor:"#000", frame:false, minHeight: 402, minWidth: 390, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
win = new BrowserWindow({width: 390, height: 420, minWidth: 390, minHeight: 420, backgroundColor:"#000", frame:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
win.loadURL(`file://${__dirname}/sources/index.html`)
@@ -56,7 +56,7 @@ app.on('ready', () =>
is_shown = true;
})
// Open the DevTools.
// win.webContents.openDevTools()
win.webContents.openDevTools()
})
app.on('window-all-closed', () =>