use webview instead of iframe

This commit is contained in:
zadam
2022-05-29 17:42:09 +02:00
parent ee217d6306
commit 01155ad535
2 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,8 @@ async function createMainWindow() {
enableRemoteModule: true,
nodeIntegration: true,
contextIsolation: false,
spellcheck: spellcheckEnabled
spellcheck: spellcheckEnabled,
webviewTag: true
},
frame: optionService.getOptionBool('nativeTitleBarVisible'),
icon: getIcon()