mcopy/app/scripts/build_rpi.sh

6 lines
332 B
Bash
Raw Normal View History

2020-07-30 14:54:35 +00:00
#!/bin/bash
#package app
2020-07-30 15:04:02 +00:00
./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=armv7l --icon=assets/icons/icon.png --prune=true --out=../dist
2020-07-30 14:54:35 +00:00
#build a .deb installer
2020-07-30 15:04:02 +00:00
./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-armv7l/ --arch armv7l --config ./scripts/build_linux.json