feat(core): upgrade to electron 16
This commit is contained in:
@ -25,6 +25,7 @@ export const aboutMenuTemplateFunc = () => ({
|
||||
protocol: "file:",
|
||||
slashes: true
|
||||
}))
|
||||
require("@electron/remote/main").enable(win.webContents);
|
||||
win.webContents.on('did-finish-load', () => {
|
||||
logT('changelog', "finish load page, open changlog")
|
||||
setTimeout(() => win.send('url', '/changelog'), 0)
|
||||
|
Reference in New Issue
Block a user