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