Browse Source

Merge pull request #286 from ente-io/build-for-linux-arm64

configure electron builder to build for arm64 linux
Abhinav Kumar 1 year ago
parent
commit
8c03f663b3
1 changed files with 30 additions and 7 deletions
  1. 30 7
      package.json

+ 30 - 7
package.json

@@ -1,23 +1,46 @@
 {
 {
     "name": "ente",
     "name": "ente",
     "productName": "ente",
     "productName": "ente",
-    "version": "1.6.58",
+    "version": "1.6.59-beta.0",
     "private": true,
     "private": true,
     "description": "Desktop client for ente.io",
     "description": "Desktop client for ente.io",
     "main": "app/main.js",
     "main": "app/main.js",
     "build": {
     "build": {
         "appId": "io.ente.bhari-frame",
         "appId": "io.ente.bhari-frame",
-        "artifactName": "${productName}-${version}.${ext}",
+        "artifactName": "${productName}-${version}-${arch}.${ext}",
         "nsis": {
         "nsis": {
             "deleteAppDataOnUninstall": true
             "deleteAppDataOnUninstall": true
         },
         },
         "linux": {
         "linux": {
             "target": [
             "target": [
-                "AppImage",
-                "deb",
-                "rpm",
-                "pacman",
-                "tar.gz"
+                {
+                    "target": "AppImage",
+                    "arch": [
+                        "x64",
+                        "arm64"
+                    ]
+                },
+                {
+                    "target": "deb",
+                    "arch": [
+                        "x64",
+                        "arm64"
+                    ]
+                },
+                {
+                    "target": "rpm",
+                    "arch": [
+                        "x64",
+                        "arm64"
+                    ]
+                },
+                {
+                    "target": "pacman",
+                    "arch": [
+                        "x64",
+                        "arm64"
+                    ]
+                }
             ],
             ],
             "icon": "./build/icon.icns",
             "icon": "./build/icon.icns",
             "category": "Photography"
             "category": "Photography"