Skip to content

Commit 956d5d7

Browse files
committed
Update: Updated build configuration.
1 parent d4ec46a commit 956d5d7

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

package.json

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
},
1313
"scripts": {
1414
"start": "electron .",
15-
"postinstall": "electron-builder install-app-deps"
15+
"postinstall": "electron-builder install-app-deps",
16+
"build-l": "npx electron-builder -l",
17+
"build-w": "npx electron-builder -w",
18+
"build-m": "npx electron-builder -m"
1619
},
1720
"main": "app/main.js",
1821
"devDependencies": {
@@ -37,12 +40,12 @@
3740
"files": [
3841
"app"
3942
],
40-
"fileAssociations": {
41-
"ext": "arc",
42-
"description": "Open in Advanced REST Client"
43-
},
4443
"mac": {
45-
"category": "public.app-category.developer-tools"
44+
"category": "public.app-category.developer-tools",
45+
"target": [{
46+
"target": "dmg",
47+
"arch": ["x64"]
48+
}]
4649
},
4750
"dmg": {
4851
"contents": [
@@ -60,14 +63,24 @@
6063
},
6164
"linux": {
6265
"category": "Development",
63-
"target": [
64-
"AppImage",
65-
"deb",
66-
"rpm"
66+
"target": [{
67+
"target": "deb",
68+
"arch": ["x64", "ia32"]
69+
}, {
70+
"target": "rpm",
71+
"arch": ["x64", "ia32"]
72+
}
6773
],
6874
"vendor": "Mulesoft",
6975
"synopsis": "A developert tool to test a HTTP request"
7076
},
77+
"win": {
78+
"artifactName": "arc-${version}-${arch}.${ext}",
79+
"target": [{
80+
"target": "nsis",
81+
"arch": ["x64", "ia32"]
82+
}]
83+
},
7184
"publish": [
7285
{
7386
"provider": "github",

0 commit comments

Comments
 (0)