Skip to content

Commit

Permalink
fix: ensure small asar archive (#1660)
Browse files Browse the repository at this point in the history
Closes #1659
  • Loading branch information
lidel authored Oct 2, 2020
1 parent ac7ab5a commit 2cfd2f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
appId: io.ipfs.desktop
generateUpdatesFilesForAllChannels: true

files:
- filter:
- src/**/*
- assets/**/*
- node_modules/**/*
- package.json

directories:
buildResources: assets/build

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build:webui": "run-s build:webui:*",
"build:webui:download": "npx ipfs-or-gateway -c bafybeifekmcbbi4nwyj4aasti6x3nuhyli464wfjjfdjg4xnz53lhyiedq -p assets/webui/ -t 360000 --verbose --clean",
"build:webui:minimize": "shx rm -rf assets/webui/static/js/*.map && shx rm -rf assets/webui/static/css/*.map",
"build:packages": "shx rm -rf dist/ && electron-builder --publish onTag"
"package": "shx rm -rf dist/ && run-s build && electron-builder --publish onTag"
},
"pre-commit": [
"lint"
Expand Down

0 comments on commit 2cfd2f4

Please sign in to comment.