mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-27 08:40:26 +08:00
🎱 关闭有可能导致安全软件报警的代码
This commit is contained in:
@@ -8,7 +8,7 @@ import { initUpdater } from './lib/update/update'
|
||||
const isDevelopment = process.env.NODE_ENV !== 'production'
|
||||
|
||||
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors') // 允许跨域
|
||||
app.commandLine.appendSwitch('--ignore-certificate-errors', 'true') // 忽略证书相关错误
|
||||
// app.commandLine.appendSwitch('--ignore-certificate-errors', 'true') // 忽略证书相关错误
|
||||
|
||||
let win
|
||||
let mini
|
||||
|
||||
Reference in New Issue
Block a user