macOS: Add customized dmg background (#565)

This commit is contained in:
samara
2024-05-02 14:41:09 -07:00
committed by GitHub
parent cb55cf4b74
commit a66af353f7
2 changed files with 20 additions and 0 deletions

View File

@@ -131,6 +131,26 @@
"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": {
"include": "build/installer.nsh",
"oneClick": false