Update build script on mac to not throw an error

This commit is contained in:
sixteenmillimeter 2020-04-24 22:26:00 -04:00
parent c15cd512ae
commit 3fd2b04e75
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"dest": "../dist/installers/",
"icon": "./assets/icons/icon.png",
"categories": [
"Video"
"AudioVideo"
],
"lintianOverrides": [
"changelog-file-missing-in-native-package"

View File

@ -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=<px> How big to make the icon for the app in the DMG. [Default: `80`].