🎐 升级electron依赖到最新版

This commit is contained in:
Hunlongyu
2020-10-19 13:40:12 +08:00
parent b19870d228
commit 037bb1a2ff
3 changed files with 6 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ function createWindow () {
resizable: true,
webPreferences: {
webSecurity: false,
enableRemoteModule: true,
nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION
}
})