Skip to content

Commit

Permalink
Only distribute binaries matching platform
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimmons committed Aug 30, 2018
1 parent 9f979ae commit 12c8d03
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"buildResources": "buildResources"
},
"files": [
"**/*",
{
"from": ".",
"to": ".",
"filter": ["**/*", "!resources/bin/"]
},
{
"from": "../build",
"to": ".",
Expand All @@ -18,9 +22,15 @@
"npmRebuild": false,
"extends": null,
"mac": {
"files": [
"resources/bin/darwin/**"
],
"target": "zip"
},
"win": {
"files": [
"resources/bin/win32/**"
],
"target": ["portable", "nsis"]
},
"nsis": {
Expand Down

0 comments on commit 12c8d03

Please sign in to comment.