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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

BIN
build/background.tiff Normal file

Binary file not shown.

View file

@ -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