diff --git a/app/main/index.ts b/app/main/index.ts index c29175ef..fd96f70f 100644 --- a/app/main/index.ts +++ b/app/main/index.ts @@ -66,7 +66,7 @@ function createMainWindow(): Electron.BrowserWindow { minWidth: 500, minHeight: 400, webPreferences: { - contextIsolation: false, + contextIsolation: true, partition: "persist:webviewsession", preload: require.resolve("../renderer/js/main"), webviewTag: true,