Add customized dmg background for macOS

This commit is contained in:
Samara 2024-04-22 05:56:46 -07:00
parent 2733727a40
commit 4b1202ca26
2 changed files with 20 additions and 0 deletions

BIN
assets/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": "assets/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