loading.html & html

This commit is contained in:
gaoshuaixing
2024-03-12 11:37:24 +08:00
parent 960b0731ed
commit 282683bccc
8 changed files with 100 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ module.exports = (appInfo) => {
minWidth: 400,
minHeight: 300,
webPreferences: {
webSecurity: false,
//webSecurity: false,
contextIsolation: false, // false -> 可在渲染进程中使用electron的apitrue->需要bridge.js(contextBridge)
nodeIntegration: true,
//preload: path.join(appInfo.baseDir, 'preload', 'bridge.js'),