Skip to content

Commit 313eff8

Browse files
committed
Implement a background to the installer dmg
1 parent 3124ffd commit 313eff8

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

apps/code/build/dmg-background.png

9.49 KB
Loading

apps/code/forge.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ const config: ForgeConfig = {
173173
new MakerDMG({
174174
icon: "./build/app-icon.icns",
175175
format: "ULFO",
176+
background: "./build/dmg-background.png",
177+
iconSize: 80,
178+
contents: (opts) => [
179+
{ x: 135, y: 225, type: "file", path: opts.appPath },
180+
{ x: 405, y: 225, type: "link", path: "/Applications" },
181+
],
176182
...(shouldSignMacApp && appleCodesignIdentity
177183
? {
178184
"code-sign": {

0 commit comments

Comments
 (0)