summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh1
-rw-r--r--index.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 6c59cf2..059cc3c 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,6 @@
#!/bin/bash
electron-packager --overwrite --platform darwin --arch arm64 .
+electron-packager --overwrite --platform darwin --arch x64 .
electron-packager --overwrite --platform win32 --arch x64 .
electron-packager --overwrite --platform linux --arch x64 . \ No newline at end of file
diff --git a/index.js b/index.js
index 4200262..85babb2 100644
--- a/index.js
+++ b/index.js
@@ -7,7 +7,7 @@ const createWindow = () => {
width: 800,
height: 600,
fullscreen: true,
- kiosk: os.platform() === "win32" || os.platform() === "linux",
+ kiosk: os.platform() === "win32" || os.platform() === "linux" || process.argv.includes("kiosk"),
autoHideMenuBar: true,
title: "Delta Kiosk",
webPreferences: {