Install dependencies for rpi. Package as armv71 for raspberry pi

This commit is contained in:
mmcwilliams 2020-07-30 11:01:57 -04:00
parent c61c128044
commit 948b20fead
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
#package app
./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=armhf --icon=assets/icons/icon.png --prune=true --out=../dist
./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=armv71 --icon=assets/icons/icon.png --prune=true --out=../dist
#build a .deb installer
./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-armhf/ --arch armhf --config ./scripts/build_linux.json
./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-armv71/ --arch armv71 --config ./scripts/build_linux.json

View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo apt install libgtk-3-0 libnotify4 libnss3 libxss1 libxtst6 libatspi2.0-0 libuuid1 -y