added resizing of the window

This commit is contained in:
cantbesure1
2017-11-12 12:14:00 -08:00
parent e3ac3c6185
commit 5f7e5952fb
8 changed files with 115 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ let win
app.on('ready', () =>
{
win = new BrowserWindow({width: 390, height: 420, backgroundColor:"#000", frame:false, resizable:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
win = new BrowserWindow({width: 390, height: 420, backgroundColor:"#000", frame:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
win.loadURL(`file://${__dirname}/sources/index.html`)