@@ -1,7 +1,7 @@
{
"enterURL": "./web/index.html",
- "width": 942,
- "height": 541,
+ "width": 660,
+ "height": 420,
"webPreferences": {
"webSecurity": false,
"nodeIntegration": true,
@@ -142,7 +142,7 @@ app.whenReady().then(() => {
// 判断是否无缓存
if (webConfig.noCache) {
console.log('无缓存模式!')
- if (!webConfig.webPreferences) webConfig.webPreferences = {}
+ if (!webConfig.webPreferences) webConfig.webPreferences = {webSecurity: false}
webConfig.webPreferences.partition = 'persist:Session' + Math.round(Math.random()*100000)
}
createWindow()
@@ -11,7 +11,7 @@
"build": {
"extraResources": [],
"win": {
- "icon": "/icon.ico",
+ "icon": "/icon2.ico",
"target": [
"target": "portable",
@@ -33,8 +33,8 @@
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
- "electron": "21.4.4",
- "electron-builder": "23.6.0"
+ "electron": "32.1.2",
+ "electron-builder": "25.0.5"
},
"dependencies": {
"download": "^8.0.0",