summaryrefslogtreecommitdiff
path: root/electron_js/main.js
diff options
context:
space:
mode:
authorsteelyard-nl <email@jeroenkik.nl>2017-02-01 09:00:27 +0100
committersteelyard-nl <email@jeroenkik.nl>2017-02-01 09:00:27 +0100
commit80a66592e858481daac0e696ebe10306517fb90e (patch)
tree1e2d708a974cc5a18e87e523d6a9ddd59dd8f283 /electron_js/main.js
parent322009158f051c79ffae5e2dcaabf242bcaa369f (diff)
parent1becce407771613d0815b0476b10a9741b55e306 (diff)
Merge remote-tracking branch 'refs/remotes/pliablepixels/master'
Diffstat (limited to 'electron_js/main.js')
-rw-r--r--electron_js/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/electron_js/main.js b/electron_js/main.js
index 4a1125f1..d2983f2e 100644
--- a/electron_js/main.js
+++ b/electron_js/main.js
@@ -27,6 +27,8 @@ if (shouldQuit) {
function createWindow() {
// Create the browser window.
win = new BrowserWindow({width: 1024, height: 900, webPreferences:{nodeIntegration:false}});
+ if (process.argv.slice(2)=='fs')
+ win.setFullScreen(true);
// and load the index.html of the app.
win.loadURL(`file://${__dirname}/index.html`);