Improve ui & performance
This commit is contained in:
@@ -7,7 +7,13 @@ let mainWindow
|
||||
|
||||
function createWindow () {
|
||||
// Create the browser window.
|
||||
mainWindow = new BrowserWindow({width: 1024, height: 600})
|
||||
mainWindow = new BrowserWindow({
|
||||
width: 1024,
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
})
|
||||
|
||||
// and load the index.html of the app.
|
||||
mainWindow.loadFile('app/index.html')
|
||||
|
||||
Reference in New Issue
Block a user