Moving preview into guide

This commit is contained in:
Devine Lu Linvega
2018-05-10 19:49:41 +12:00
parent 328a72824e
commit 4febd20a2b
4 changed files with 39 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ app.on('ready', () =>
app.win = new BrowserWindow({width: 400, height: 420, minWidth: 400, minHeight: 420, backgroundColor:"#000", frame:false, autoHideMenuBar: true, icon: __dirname + '/icon.ico'})
app.win.loadURL(`file://${__dirname}/sources/index.html`);
app.win.toggleDevTools();
app.win.on('closed', () => {
win = null