Upgrade to Electron 11
This commit is contained in:

committed by
Scott Nonnenberg

parent
62ce308fe1
commit
c8b551edab
4
main.js
4
main.js
@@ -295,6 +295,7 @@ async function createWindow() {
|
||||
nodeIntegration: false,
|
||||
nodeIntegrationInWorker: false,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
nativeWindowOpen: true,
|
||||
spellcheck: await getSpellCheckSetting(),
|
||||
@@ -658,6 +659,7 @@ function showSettingsWindow() {
|
||||
nodeIntegration: false,
|
||||
nodeIntegrationInWorker: false,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
preload: path.join(__dirname, 'settings_preload.js'),
|
||||
nativeWindowOpen: true,
|
||||
},
|
||||
@@ -726,6 +728,7 @@ async function showStickerCreator() {
|
||||
nodeIntegration: false,
|
||||
nodeIntegrationInWorker: false,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
preload: path.join(__dirname, 'sticker-creator/preload.js'),
|
||||
nativeWindowOpen: true,
|
||||
spellcheck: await getSpellCheckSetting(),
|
||||
@@ -829,6 +832,7 @@ function showPermissionsPopupWindow(forCalling, forCamera) {
|
||||
nodeIntegration: false,
|
||||
nodeIntegrationInWorker: false,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true,
|
||||
preload: path.join(__dirname, 'permissions_popup_preload.js'),
|
||||
nativeWindowOpen: true,
|
||||
},
|
||||
|
Reference in New Issue
Block a user