Skip to content

Commit 108d9ee

Browse files
author
Alex Epstein
committed
create-dmg needs to be installed without sudo
1 parent f05edd0 commit 108d9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Resolving dependencies"
44
sudo npm install -g electron-packager
5-
sudo npm install -g add create-dmg
5+
npm install -g create-dmg
66
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
77
echo Removing temporary files
88
sudo rm -r dist

0 commit comments

Comments
 (0)