Hide electron window on Windows
This commit is contained in:
@@ -31,14 +31,11 @@ app.on('ready', createWindow);
|
||||
function createWindow() {
|
||||
|
||||
// Create a browser window
|
||||
var win = new BrowserWindow({show: false});
|
||||
var win = new BrowserWindow({show: false, width: 8000, height: 8000});
|
||||
|
||||
// Load index.html
|
||||
win.loadURL('file://' + __dirname + '/index.html');
|
||||
|
||||
// Maximize the window
|
||||
win.maximize();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user