|
@@ -52,12 +52,12 @@ async function createWindow() {
|
|
|
backgroundColor: '#211f1d',
|
|
|
fullscreen: false,
|
|
|
webPreferences: {
|
|
|
- webSecurity: true,
|
|
|
+ webSecurity: false,
|
|
|
enableRemoteModule: true,
|
|
|
- // Use pluginOptions.nodeIntegration, leave this alone
|
|
|
- // See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
|
|
|
- nodeIntegration: false,
|
|
|
- contextIsolation: false,
|
|
|
+ // Use pluginOptions.nodeIntegration, leave this alone
|
|
|
+ // See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
|
|
|
+ nodeIntegration: true,
|
|
|
+ contextIsolation: false,
|
|
|
icon: `${__static}/app.ico`
|
|
|
}
|
|
|
})
|