diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,16 +3,18 @@ const { app, BrowserWindow } = require('electron') const path = require('path') const createWindow = () => { const win = new BrowserWindow({ - width: 800, - height: 600, + autoHideMenuBar: true, icon: __dirname + '/icon.png', frame: false }) - + win.maximize() win.loadFile('index.html') } app.whenReady().then(() => { createWindow() - })
\ No newline at end of file + + }) + + //npm exec electron-packager .
\ No newline at end of file |