From 3fd2b04e75f55b339df57d8db9851092412522ae Mon Sep 17 00:00:00 2001 From: sixteenmillimeter Date: Fri, 24 Apr 2020 22:26:00 -0400 Subject: [PATCH] Update build script on mac to not throw an error --- app/scripts/build_linux.json | 2 +- app/scripts/build_mac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/build_linux.json b/app/scripts/build_linux.json index 1e0f360..b04c587 100644 --- a/app/scripts/build_linux.json +++ b/app/scripts/build_linux.json @@ -2,7 +2,7 @@ "dest": "../dist/installers/", "icon": "./assets/icons/icon.png", "categories": [ - "Video" + "AudioVideo" ], "lintianOverrides": [ "changelog-file-missing-in-native-package" diff --git a/app/scripts/build_mac.sh b/app/scripts/build_mac.sh index 8c1c509..633f134 100644 --- a/app/scripts/build_mac.sh +++ b/app/scripts/build_mac.sh @@ -3,7 +3,7 @@ ./node_modules/.bin/electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/icon.icns --prune=true --out=../dist #build dmg for mac install sleep 5s -mkdir ../dist/installers +mkdir -p ../dist/installers ./node_modules/.bin/electron-installer-dmg ../dist/mcopy-app-darwin-x64/mcopy-app.app mcopy-app --out=../dist/installers --icon=assets/icons/icon.icns --overwrite # Path to the icon file that will be the app icon in the DMG window. # --icon-size= How big to make the icon for the app in the DMG. [Default: `80`].