summarylogtreecommitdiffstats
path: root/electron-builder-config.diff
blob: c05353eb44ea9ca9d1dafbc569b89227d39e9142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
diff --git a/package.json b/package.json
index 488a3136..f835ffe4 100644
--- a/package.json
+++ b/package.json
@@ -52,91 +52,27 @@
       "devices/"
     ],
     "afterSign": ".erb/scripts/Notarize.js",
-    "mac": {
-      "target": [
-        "dmg"
-      ],
-      "type": "distribution",
-      "hardenedRuntime": true,
-      "entitlements": "assets/entitlements.mac.plist",
-      "entitlementsInherit": "assets/entitlements.mac.plist",
-      "gatekeeperAssess": false,
-      "category": "public.app-category.developer-tools",
-      "extraFiles": [
-        "dependencies/darwin_amd64",
-        "dependencies/get-platformio.py"
-      ]
-    },
-    "dmg": {
-      "contents": [
-        {
-          "x": 130,
-          "y": 220
-        },
-        {
-          "x": 410,
-          "y": 220,
-          "type": "link",
-          "path": "/Applications"
-        }
-      ]
-    },
-    "win": {
-      "target": [
-        "nsis"
-      ],
-      "extraFiles": [
-        "dependencies/windows_amd64",
-        "dependencies/get-platformio.py"
-      ]
-    },
-    "nsis": {
-      "oneClick": false,
-      "allowToChangeInstallationDirectory": true
-    },
+    "electronDist": "%%ELECTRON_DIST%%",
+    "electronVersion": "%%ELECTRON_VERSION%%",
     "linux": {
       "target": [
-        "zip",
-        "deb",
-        "pacman",
-        "rpm"
+        "dir",
+        "pacman"
       ],
       "category": "Development",
       "extraFiles": [
         "dependencies/get-platformio.py"
       ]
     },
-    "rpm": {
-      "depends": [
-        "git",
-        "python3"
-      ]
-    },
     "pacman": {
+      "fpm": [
+        "--pacman-compression=none"
+      ],
       "depends": [
         "git",
         "python3"
       ]
     },
-    "snap": {
-      "stagePackages": [
-        "default",
-        "git",
-        "python3"
-      ]
-    },
-    "deb": {
-      "depends": [
-        "git",
-        "python3",
-        "python3-distutils",
-        "gconf2",
-        "gconf-service",
-        "libnotify4",
-        "libxtst6",
-        "libnss3"
-      ]
-    },
     "directories": {
       "app": "src",
       "buildResources": "assets",