🎱 关闭有可能导致安全软件报警的代码

This commit is contained in:
Hunlongyu
2020-10-30 09:30:53 +08:00
parent ee622f88da
commit b9ab1b11f4

View File

@@ -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