From 296ef93ecbbba3cc755b7b4825e72e45bf9ac484 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 30 Jul 2020 10:54:35 -0400 Subject: [PATCH] Installer for rpi --- app/package-lock.json | 2 +- app/scripts/build_rpi.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 app/scripts/build_rpi.sh diff --git a/app/package-lock.json b/app/package-lock.json index 7878967..71c95a0 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.6.2", + "version": "1.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/app/scripts/build_rpi.sh b/app/scripts/build_rpi.sh new file mode 100644 index 0000000..a91b23f --- /dev/null +++ b/app/scripts/build_rpi.sh @@ -0,0 +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 +#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