electron-related tweaking and minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-11-03 02:12:38 +03:00
parent 45a3b937be
commit a3f5579faa

View File

@ -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