Install dependencies for rpi. Package as armv71 for raspberry pi
This commit is contained in:
parent
c61c128044
commit
948b20fead
app/scripts
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo apt install libgtk-3-0 libnotify4 libnss3 libxss1 libxtst6 libatspi2.0-0 libuuid1 -y
|
Loading…
Reference in New Issue