From 948b20feadf389efdcd8186d77e80c825ecee515 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 30 Jul 2020 11:01:57 -0400 Subject: [PATCH] Install dependencies for rpi. Package as armv71 for raspberry pi --- app/scripts/build_rpi.sh | 4 ++-- app/scripts/rpi_dependencies.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 app/scripts/rpi_dependencies.sh diff --git a/app/scripts/build_rpi.sh b/app/scripts/build_rpi.sh index a91b23f..e911a1b 100644 --- a/app/scripts/build_rpi.sh +++ b/app/scripts/build_rpi.sh @@ -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 \ No newline at end of file +./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-armv71/ --arch armv71 --config ./scripts/build_linux.json \ No newline at end of file diff --git a/app/scripts/rpi_dependencies.sh b/app/scripts/rpi_dependencies.sh new file mode 100644 index 0000000..0fdb541 --- /dev/null +++ b/app/scripts/rpi_dependencies.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +sudo apt install libgtk-3-0 libnotify4 libnss3 libxss1 libxtst6 libatspi2.0-0 libuuid1 -y \ No newline at end of file