Feature: using webview to show manual website

This commit is contained in:
萌萌哒赫萝
2023-08-28 00:47:50 -07:00
parent 636596a984
commit bc7a446808
5 changed files with 26 additions and 28 deletions

View File

@@ -71,6 +71,7 @@ const settingWindowOptions = {
transparent: true,
titleBarStyle: 'hidden',
webPreferences: {
webviewTag: true,
backgroundThrottling: false,
nodeIntegration: !!process.env.ELECTRON_NODE_INTEGRATION,
contextIsolation: !process.env.ELECTRON_NODE_INTEGRATION,