aboutsummaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authoramelia <[email protected]>2022-05-11 08:31:14 -0500
committeramelia <[email protected]>2022-05-11 08:31:14 -0500
commitd1570705868034cace48249fa62d02573d4e906d (patch)
tree61c005aeac5ef8e80f5263b885bd0d32aeac2cab /index.js
parentd45ad14c2e2f47b2c7a253aa9dda10115e1cdb07 (diff)
peer to pee fully working & added exe
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