Skip to content

Commit

Permalink
🍎 Add options to make .dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
Delni committed Dec 21, 2017
1 parent 4f8d945 commit d7dd78f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules/
.scannerwork
sonar-*
dist/

package-lock\.json
Binary file added build/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/mountedimage2.icns
Binary file not shown.
Binary file added build/mountedimage2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "mercury",
"productName": "Mercury",
"version": "1.0.1",
"version": "1.1.0",
"description": "Mercury allow you to control your budget and plan your finance",
"main": "app.js",
"scripts": {
"start": "electron app.js",
"test": "echo \"ERROR : no test plugin set\"",
"dist": "electron-builder",
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=\"icons/mac/app_r.icns\" --prune=true --out=../release-builds",
"package-win": "electron-packager . --overwrite --asar=false --platform=win32 --arch=x64 --icon=\"./icons/win/app_r.ico\" --prune=true --out=../release-builds --version-string.CompanyName=MercuryCE --version-string.FileDescription=MercuryCE --version-string.ProductName=\"Mercury\"",
"package-lin": "electron-packager . --overwrite --platform=linux --arch=x64 --icon=\"icons/png/Round/512x512.png\" --prune=true --out=../release-builds"
Expand All @@ -16,9 +17,17 @@
"chart"
],
"build": {
"appID": "mercury",
"appId": "mercury",
"productName": "Mercury",
"icon": "./icons/png/256x256.png"
"icon": "./icons/png/256x256.png",
"mac":{
"category":"public.app-category.finance",
"icon":"./icons/mac/app_r.icns",
"asar":false
},
"dmg" : {
"icon": "./build/mountedimage2.icns"
}
},
"author": "Delni ([email protected])",
"license": "MIT",
Expand All @@ -35,6 +44,7 @@
},
"devDependencies": {
"electron": "^1.8.1",
"electron-builder": "^19.49.0",
"electron-packager": "^8.1.0"
}
}

0 comments on commit d7dd78f

Please sign in to comment.