From a3f5579faa8cd99f70856c812d50ea8663a1c821 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 3 Nov 2017 02:12:38 +0300 Subject: [PATCH] electron-related tweaking and minor fixes... Signed-off-by: Alex A. Naanou --- ui (gen4)/e.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ui (gen4)/e.js b/ui (gen4)/e.js index 89445e2a..58f169e1 100644 --- a/ui (gen4)/e.js +++ b/ui (gen4)/e.js @@ -30,17 +30,22 @@ var win function createWindow() { // Create the browser window. win = new BrowserWindow({ - // XXX get from config... + // let the window to get ready before we show it to the user... + show: false, + + // XXX get from config... (???) + //backgroundColor: XXX, width: 800, height: 600, fullscreenable: true, - //backgroundColor: XXX, - // XXX remove... - autoHideMenuBar: true, + //autoHideMenuBar: true, }) + // disable default menu... + win.setMenu(null) + // and load the index.html of the app. win.loadURL(url.format({ // XXX unify this with index.html