diff --git a/package.json b/package.json index a0ef3a0..4eab0a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zy", - "version": "2.6.9", + "version": "2.7.0rc", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -13,7 +13,7 @@ "postuninstall": "electron-builder install-app-deps", "electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten", "release": "vue-cli-service electron:build -p always", - "dist": "vue-cli-service electron:build --win --ia32" + "dist": "vue-cli-service electron:build --win --x64" }, "main": "background.js", "dependencies": { diff --git a/src/background.js b/src/background.js index bd8cf24..f786e85 100644 --- a/src/background.js +++ b/src/background.js @@ -7,7 +7,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