Skip to content

Commit

Permalink
Uses create-dmg to create a nicer DMG file
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdemey committed Apr 2, 2017
1 parent 09c74a8 commit 0dacc28
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ app/js/bundle.js
dist/

gh-pages/

*.dmg
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"scripts": {
"start": "grunt",
"build:osx": "grunt build:osx && npm run package:osx",
"package:osx": "hdiutil create -format UDZO -volname Cumulus -srcfolder dist/Cumulus-darwin-x64 dist/Cumulus-$npm_package_version-osx.dmg"
"package:osx": "create-dmg dist/Cumulus-darwin-x64/Cumulus.app"
},
"devDependencies": {
"browserify": "^13.0.0",
"create-dmg": "^1.3.0",
"envify": "^3.4.0",
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
Expand Down
Loading

0 comments on commit 0dacc28

Please sign in to comment.