Skip to content

Commit

Permalink
feat(main): set contextIsolation to false
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream committed Jun 22, 2021
1 parent ad4f234 commit a3fc325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function createWindow() {
webSecurity: false,
enableRemoteModule: true,
nodeIntegration: true,
contextIsolation: false,
},
titleBarStyle: isMac ? 'hidden' : 'default',
backgroundColor: theme === 'dark' ? '#232323' : '#ffffff',
Expand Down

0 comments on commit a3fc325

Please sign in to comment.