aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts
index 4b21c6b2b..d46641fe1 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -213,6 +213,7 @@ const createWindow = () => {
213 contextIsolation: false, 213 contextIsolation: false,
214 webviewTag: true, 214 webviewTag: true,
215 preload: join(__dirname, 'sentry.js'), 215 preload: join(__dirname, 'sentry.js'),
216 nativeWindowOpen: true,
216 // @ts-expect-error Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'. 217 // @ts-expect-error Object literal may only specify known properties, and 'enableRemoteModule' does not exist in type 'WebPreferences'.
217 enableRemoteModule: true, 218 enableRemoteModule: true,
218 }, 219 },
@@ -519,9 +520,7 @@ ipcMain.on('open-browser-window', (_e, { url, serviceId }) => {
519 fullscreenable: false, 520 fullscreenable: false,
520 webPreferences: { 521 webPreferences: {
521 session: serviceSession, 522 session: serviceSession,
522 // TODO: Aren't these needed here? 523 nativeWindowOpen: true,
523 // contextIsolation: false,
524 // enableRemoteModule: true,
525 }, 524 },
526 }); 525 });
527 child.show(); 526 child.show();