LaiTool V3.0.4

This commit is contained in:
2024-09-04 19:49:20 +08:00
parent ccddd2412a
commit 5dc75f018a
53 changed files with 1632 additions and 312 deletions
+2 -2
View File
@@ -66,12 +66,12 @@ async function createWindow(hash = 'ShowMessage', data, url = null) {
webPreferences: {
preload: join(__dirname, '../preload/index.js'),
sandbox: false,
nodeIntegration: hash == 'discord' ? false : true, // 在网页中集成Node
nodeIntegration: true, // 在网页中集成Node
nodeIntegrationInWorker: true,
webSecurity: false,
partition: 'persist:my-partition',
session: ses,
webviewTag : true,
webviewTag: true
}
})