LaiTool V3.0.4
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user