Installer for rpi

This commit is contained in:
mmcwilliams 2020-07-30 10:54:35 -04:00
parent 0811222d27
commit 296ef93ecb
2 changed files with 7 additions and 1 deletions

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.6.2",
"version": "1.6.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

6
app/scripts/build_rpi.sh Normal file
View File

@ -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