|
@@ -52,12 +52,12 @@ async function createWindow() {
|
|
|
backgroundColor: '#211f1d',
|
|
|
fullscreen: false,
|
|
|
webPreferences: {
|
|
|
- webSecurity: true,
|
|
|
+ webSecurity: false,
|
|
|
enableRemoteModule: true,
|
|
|
-
|
|
|
-
|
|
|
- nodeIntegration: false,
|
|
|
- contextIsolation: false,
|
|
|
+
|
|
|
+
|
|
|
+ nodeIntegration: true,
|
|
|
+ contextIsolation: false,
|
|
|
icon: `${__static}/app.ico`
|
|
|
}
|
|
|
})
|