aboutsummaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/index.js b/index.js
index b6a6087..1451fd9 100644
--- a/index.js
+++ b/index.js
@@ -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