Browse Source

Merge pull request #267 from zilliztech/universal-app

change electron build target for mac to universal
ryjiang 1 year ago
parent
commit
6f025d5a60
2 changed files with 73 additions and 469 deletions
  1. 7 2
      server/package.json
  2. 66 467
      server/yarn.lock

+ 7 - 2
server/package.json

@@ -61,7 +61,7 @@
     "@types/supertest": "^2.0.12",
     "@types/supertest": "^2.0.12",
     "@types/ws": "^8.5.5",
     "@types/ws": "^8.5.5",
     "electron": "^25.3.0",
     "electron": "^25.3.0",
-    "electron-builder": "^24.4.0",
+    "electron-builder": "^24.6.4",
     "jest": "^29.6.1",
     "jest": "^29.6.1",
     "nodemon": "^3.0.1",
     "nodemon": "^3.0.1",
     "prettier": "^3.0.0",
     "prettier": "^3.0.0",
@@ -126,7 +126,12 @@
     },
     },
     "mac": {
     "mac": {
       "icon": "./build/attu.icns",
       "icon": "./build/attu.icns",
-      "target": "dmg"
+      "target": [
+        {
+          "target": "default",
+          "arch": "universal"
+        }
+      ]
     },
     },
     "win": {
     "win": {
       "icon": "./build/attu.png",
       "icon": "./build/attu.png",

File diff suppressed because it is too large
+ 66 - 467
server/yarn.lock


Some files were not shown because too many files changed in this diff