mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
electron-related tweaking and minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
45a3b937be
commit
a3f5579faa
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user