feat(deps): core update
This commit is contained in:
@ -177,7 +177,10 @@ app.on("ready", async () => {
|
||||
|
||||
mainWindow = createWindow("main", {
|
||||
width: 1000,
|
||||
height: 600
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
});
|
||||
|
||||
// Need for db patcher, to close application
|
||||
|
@ -12,7 +12,10 @@ export const aboutMenuTemplateFunc = () => ({
|
||||
click: () => {
|
||||
const win = new BrowserWindow({
|
||||
parent: BrowserWindow.getFocusedWindow(),
|
||||
modal: true
|
||||
modal: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
})
|
||||
win.setMenu(null)
|
||||
win.loadURL(url.format({
|
||||
|
Reference in New Issue
Block a user