macOS: Add customized dmg background (#565)
This commit is contained in:
parent
cb55cf4b74
commit
a66af353f7
2 changed files with 20 additions and 0 deletions
BIN
build/background.tiff
Normal file
BIN
build/background.tiff
Normal file
Binary file not shown.
20
package.json
20
package.json
|
@ -131,6 +131,26 @@
|
||||||
"com.apple.security.device.camera": true
|
"com.apple.security.device.camera": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dmg": {
|
||||||
|
"background": "build/background.tiff",
|
||||||
|
"icon": "build/icon.icns",
|
||||||
|
"iconSize": 105,
|
||||||
|
"window": {
|
||||||
|
"width": 512,
|
||||||
|
"height": 340
|
||||||
|
},
|
||||||
|
|
||||||
|
"contents": [{
|
||||||
|
"x": 140,
|
||||||
|
"y": 160
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 372,
|
||||||
|
"y": 160,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/Applications"
|
||||||
|
}]
|
||||||
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"include": "build/installer.nsh",
|
"include": "build/installer.nsh",
|
||||||
"oneClick": false
|
"oneClick": false
|
||||||
|
|
Loading…
Reference in a new issue