Skip to content

Commit

Permalink
macOS: Add customized dmg background (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis authored May 2, 2024
1 parent cb55cf4 commit a66af35
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Binary file added build/background.tiff
Binary file not shown.
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a66af35

Please sign in to comment.