From c128fa28710eb286d2aabf23dd86f2b751d12a66 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Thu, 15 Mar 2018 14:52:08 -0400 Subject: [PATCH] Improve linux build process. Caught an issue where the binary mcopy is conflicting with another in the mtools library. Will be re-naming the binary mcopy-app on linux. Will revist this after current release. --- app/build_linux.json | 10 ++++++++++ app/build_linux.sh | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 app/build_linux.json diff --git a/app/build_linux.json b/app/build_linux.json new file mode 100644 index 0000000..74ef77f --- /dev/null +++ b/app/build_linux.json @@ -0,0 +1,10 @@ +{ + "dest": "../dest/installers/", + "icon": "./assets/icons/icon.png", + "categories": [ + "Video" + ], + "lintianOverrides": [ + "changelog-file-missing-in-native-package" + ] +} \ No newline at end of file diff --git a/app/build_linux.sh b/app/build_linux.sh index cd81e37..0c4deba 100644 --- a/app/build_linux.sh +++ b/app/build_linux.sh @@ -1,6 +1,6 @@ #!/bin/bash #package app -./node_modules/.bin/electron-packager . mcopy --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist +./node_modules/.bin/electron-packager . mcopy --overwrite --asar --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 +./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-linux-x64/ --arch amd64 --config build_linux.json \ No newline at end of file