test event
This commit is contained in:
1 parent
aa5a0fc62e
commit
69a284cc16
5 files changed
+41
-15
No files matched your search
@@ -8,7 +8,7 @@ let createWindow = function () {
|
||||
width: 1280,
|
||||
height: 800,
|
||||
webPreferences: {
|
||||
// nodeIntegration: true
|
||||
nodeIntegration: true
|
||||
}
|
||||
// fullscreenable:false,
|
||||
// maximizable:false
|
||||
@@ -18,6 +18,7 @@ let createWindow = function () {
|
||||
mainWindow.on('closed', function () {
|
||||
mainWindow = null
|
||||
});
|
||||
initMenu(mainWindow);
|
||||
}
|
||||
app.on('ready', createWindow)
|
||||
app.on('window-all-closed', () => {
|
||||
@@ -30,6 +31,4 @@ app.on('activate', () => {
|
||||
if (mainWindow === null) {
|
||||
createWindow()
|
||||
}
|
||||
});
|
||||
|
||||
initMenu();
|
||||
});
|
||||
Reference in new issue
Block a user