Improve the look of the DMG (#175)

Makes the icons larger and the distance to drag shorter, to be more user-friendly.
This commit is contained in:
Sindre Sorhus
2017-05-14 17:42:31 +07:00
committed by GitHub
parent f009b2ebe4
commit 8a4530b8df
3 changed files with 19 additions and 4 deletions

BIN
build/background.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

BIN
build/background@2x.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -56,13 +56,28 @@
"build": {
"asar": false,
"appId": "com.wulkano.kap",
"mac": {
"category": "public.app-category.productivity"
},
"files": [
"**/*",
"!src"
]
],
"mac": {
"category": "public.app-category.productivity"
},
"dmg": {
"iconSize": 160,
"contents": [
{
"x": 180,
"y": 170
},
{
"x": 480,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
}
},
"babel": {
"plugins": [