From 9a45192b38c382398de79b39807d4e9778d9e348 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Fri, 2 Mar 2018 21:12:06 -0500 Subject: [PATCH] Sleep after packaging --- app/build_mac.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build_mac.sh b/app/build_mac.sh index 67c38ab..b32cad4 100644 --- a/app/build_mac.sh +++ b/app/build_mac.sh @@ -2,8 +2,10 @@ ./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 -./node_modules/.bin/electron-installer-dmg ../dist/mcopy-darwin-x64 mcopy --out=../dist/installers --icon=assets/icons/icon.icns Path to the icon file that will be the app icon in the DMG window. +./node_modules/.bin/electron-installer-dmg ../dist/mcopy-darwin-x64 mcopy --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`]. # --background= Path to a PNG image to use as the background of the DMG. #--overwrite Overwrite any existing DMG. \ No newline at end of file