Skip to content

Commit

Permalink
Use electron-installer-dmg to create mac OS dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Jun 13, 2017
1 parent 6b2595f commit e6c8b04
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prepare-release": "npm run dist-clean && npm run build && npm run package",
"build:osx": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=gitnews-menubar.icns --prune=true --ignore='^/dist$' --out=dist",
"package": "npm run package:osx",
"package:osx": "hdiutil create -format UDZO -srcfolder dist/Gitnews-darwin-x64/Gitnews.app dist/Gitnews_Mac.dmg",
"package:osx": "electron-installer-dmg --out=dist --icon=gitnews-menubar.icns --overwrite dist/Gitnews-darwin-x64/Gitnews.app Gitnews",
"test": "mocha tests"
},
"keywords": [
Expand Down Expand Up @@ -39,6 +39,7 @@
},
"devDependencies": {
"chai": "^4.0.0",
"electron-installer-dmg": "^0.2.1",
"electron-packager": "^8.7.0",
"eslint": "^3.19.0",
"eslint-config-wpcalypso": "^0.8.0",
Expand Down
Loading

0 comments on commit e6c8b04

Please sign in to comment.