diff --git a/Gruntfile.js b/Gruntfile.js index bfb950c..aff8e3f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -70,7 +70,7 @@ module.exports = function(grunt) { version : '0.36.9', platform : 'darwin', arch : 'x64', - // ignore : 'node_modules/', + prune : true, 'app-version' : packageJson.version, 'app-bundle-id' : 'com.gillesdemey.cumulus' } diff --git a/package.json b/package.json index c93198f..ffc6d54 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "grunt", "build:osx": "grunt build:osx && cp ./cumulus.icns dist/Cumulus.app/Contents/Resources/atom.icns && npm run package:osx", - "package:osx": "zip -r -X dist/Cumulus-$npm_package_version-osx.zip dist/Cumulus.app" + "package:osx": "hdiutil create -format UDZO -volname Cumulus -srcfolder dist dist/Cumulus-$npm_package_version-osx.dmg" }, "devDependencies": { "browserify": "^10.0.0",