https://github.com/develar/app-builder
Generic helper tool to build app in a distributable format
https://github.com/develar/app-builder
electron snap
Last synced: about 1 year ago
JSON representation
Generic helper tool to build app in a distributable format
- Host: GitHub
- URL: https://github.com/develar/app-builder
- Owner: develar
- License: mit
- Created: 2018-01-04T16:40:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T19:38:52.000Z (over 1 year ago)
- Last Synced: 2025-04-13T14:06:11.504Z (about 1 year ago)
- Topics: electron, snap
- Language: Go
- Homepage:
- Size: 1.28 MB
- Stars: 124
- Watchers: 4
- Forks: 65
- Open Issues: 39
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# app-builder
Generic helper tool to build app in a distributable formats.
Used by [electron-builder](http://github.com/electron-userland/electron-builder) but applicable not only for building Electron applications.
```
usage: app-builder [] [ ...]
app-builder
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
Commands:
help [...]
Show help.
blockmap --input=INPUT []
Generates file block map for differential update using content defined
chunking (that is robust to insertions, deletions, and changes to input
file)
-i, --input=INPUT input file
-o, --output=OUTPUT output file
-c, --compression=gzip compression, one of: gzip, deflate
download --url=URL --output=OUTPUT []
Download file.
-u, --url=URL The URL.
-o, --output=OUTPUT The output file.
--sha512=SHA512 The expected sha512 of file.
download-artifact --name=NAME --url=URL []
Download, unpack and cache artifact from GitHub.
-n, --name=NAME The artifact name.
-u, --url=URL The artifact URL.
--sha512=SHA512 The expected sha512 of file.
copy --from=FROM --to=TO []
Copy file or dir.
-f, --from=FROM
-t, --to=TO
--hard-link Whether to use hard-links if possible
appimage --app=APP --stage=STAGE --output=OUTPUT []
Build AppImage.
-a, --app=APP The app dir.
-s, --stage=STAGE The stage dir.
-o, --output=OUTPUT The output file.
--arch=x64 The arch.
--compression=COMPRESSION The compression.
--remove-stage Whether to remove stage after build.
snap --app=APP --stage=STAGE --output=OUTPUT []
Build snap.
-t, --template=TEMPLATE The template file.
-u, --template-url=TEMPLATE-URL
The template archive URL.
--template-sha512=TEMPLATE-SHA512
The expected sha512 of template archive.
-a, --app=APP The app dir.
-s, --stage=STAGE The stage dir.
--icon=ICON The path to the icon.
--hooks=HOOKS The hooks dir.
--arch=amd64 The arch.
-o, --output=OUTPUT The output file.
--docker-image="snapcore/snapcraft:latest"
The docker image.
--docker Whether to use Docker.
--remove-stage Whether to remove stage after build.
icon --input=INPUT --format=FORMAT --out=OUT []
create ICNS or ICO or icon set from PNG files
-i, --input=INPUT ... input directory or file
-f, --format=FORMAT output format
--out=OUT output directory
-r, --root=ROOT ... base directory to resolve relative path
dmg --volume=VOLUME []
Build dmg.
--volume=VOLUME
--icon=ICON
--background=BACKGROUND
```