Skip to content

Commit

Permalink
create-dmg needs to be installed without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Epstein committed Jun 10, 2017
1 parent f05edd0 commit 108d9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "Resolving dependencies"
sudo npm install -g electron-packager
sudo npm install -g add create-dmg
npm install -g create-dmg
electron-packager ~/git/Sandman Sandman --platform darwin --arch x64 --out ~/git/Sandman/build/dist/ --electronVersion 1.7.3 --overwrite --icon ~/git/Sandman/assets/sleep.icns || { echo Error packaging application ; exit 1; } && create-dmg ~/git/Sandman/build/dist/Sandman-darwin-x64/Sandman.app
echo Removing temporary files
sudo rm -r dist

0 comments on commit 108d9ee

Please sign in to comment.