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
104
105
106
107
108
109
110
111
|
diff --git a/package.json b/package.json
index 1844f3cc..f1b16209 100644
--- a/package.json
+++ b/package.json
@@ -54,99 +54,28 @@
"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": {
- "executableArgs": [
- "--no-sandbox"
- ],
- "depends": [
- "git",
- "python3"
- ]
- },
"pacman": {
- "executableArgs": [
- "--no-sandbox"
+ "fpm": [
+ "--pacman-compression=none"
],
- "depends": [
- "git",
- "python3"
- ]
- },
- "snap": {
- "executableArgs": [
- "--no-sandbox"
- ],
- "stagePackages": [
- "default",
- "git",
- "python3"
- ]
- },
- "deb": {
"executableArgs": [
"--no-sandbox"
],
"depends": [
"git",
- "python3",
- "python3-setuptools",
- "libnotify4",
- "libxtst6",
- "libnss3"
+ "python3"
]
},
"directories": {
|