Skip to content

Commit 1d25ba0

Browse files
committed
fix(changelog): fix changelog on new electron
1 parent 8d48c80 commit 1d25ba0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/background/menu/about_menu_template.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const aboutMenuTemplateFunc = () => ({
1414
parent: BrowserWindow.getFocusedWindow(),
1515
modal: true,
1616
webPreferences: {
17-
nodeIntegration: true
17+
nodeIntegration: true,
18+
enableRemoteModule: true,
1819
}
1920
})
2021
win.setMenu(null)
@@ -24,6 +25,7 @@ export const aboutMenuTemplateFunc = () => ({
2425
slashes: true
2526
}))
2627
win.webContents.on('did-finish-load', () => {
28+
logT('changelog', "finish load page, open changlog")
2729
setTimeout(() => win.send('url', '/changelog'), 0)
2830
});
2931

0 commit comments

Comments
 (0)