From 4fb06761aa010c99788196f45ced6a21acead1e5 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 9 Jan 2018 12:35:50 -0500 Subject: [PATCH] Use local binaries, not global ones, in build scripts --- app/build_linux.sh | 5 ++++- app/build_win.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/build_linux.sh b/app/build_linux.sh index 0c532c3..cd81e37 100644 --- a/app/build_linux.sh +++ b/app/build_linux.sh @@ -1,3 +1,6 @@ #!/bin/bash -electron-packager . mcopy --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist +#package app +./node_modules/.bin/electron-packager . mcopy --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist +#build a .deb installer +./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-linux-x64/ --dest ../dist/installers/ --arch amd64 \ No newline at end of file diff --git a/app/build_win.sh b/app/build_win.sh index 9924bcc..392c567 100644 --- a/app/build_win.sh +++ b/app/build_win.sh @@ -1,3 +1,3 @@ #!/bin/bash -electron-packager . mcopy --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/win/icon.ico --prune=true --out=../dist --version-string.CompanyName="sixteenmillimeter.com" --version-string.FileDescription="Open Source Optical Printer Platform" --version-string.ProductName="mcopy" \ No newline at end of file +./node_modules/.bin/electron-packager . mcopy --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/win/icon.ico --prune=true --out=../dist --version-string.CompanyName="sixteenmillimeter.com" --version-string.FileDescription="Open Source Optical Printer Platform" --version-string.ProductName="mcopy" \ No newline at end of file