PUGE пре 1 година
родитељ
комит
82e879a5a5
5 измењених фајлова са 4699 додато и 1956 уклоњено
  1. 2 2
      config.json
  2. 1 1
      main.js
  3. 4178 1674
      package-lock.json
  4. 3 3
      package.json
  5. 515 276
      yarn.lock

+ 2 - 2
config.json

@@ -1,7 +1,7 @@
 {
     "enterURL": "./web/index.html",
-    "width": 942,
-    "height": 541,
+    "width": 660,
+    "height": 420,
     "webPreferences": {
         "webSecurity": false,
         "nodeIntegration": true,

+ 1 - 1
main.js

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

Разлика између датотеке није приказан због своје велике величине
+ 4178 - 1674
package-lock.json


+ 3 - 3
package.json

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

Разлика између датотеке није приказан због своје велике величине
+ 515 - 276
yarn.lock


Неке датотеке нису приказане због велике количине промена