Add background to .dmg file

This commit is contained in:
Fedor Indutny
2026-03-19 10:32:38 -07:00
committed by GitHub
parent 8b510c3b30
commit 1d884929ea
5 changed files with 41 additions and 5 deletions

View File

@@ -463,6 +463,29 @@
"NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac": true
}
},
"dmg": {
"title": "${productName} Installer",
"background": "build/dmg/background.tiff",
"icon": "build/dmg/icon.icns",
"iconSize": 96,
"window": {
"width": 540,
"height": 394
},
"contents": [
{
"type": "file",
"x": 152,
"y": 161
},
{
"path": "/Applications",
"type": "link",
"x": 368,
"y": 161
}
]
},
"masDev": {
"type": "development",
"sign": null,