diff --git a/apps/desktop/resources/dmg/dmg-background-latest.svg b/apps/desktop/resources/dmg/dmg-background-latest.svg index 132d829b103ece7b1f792694bd1f0139c0b40e8f..23907be8470e22100f3f03bbe51526c5cfb716b9 100644 --- a/apps/desktop/resources/dmg/dmg-background-latest.svg +++ b/apps/desktop/resources/dmg/dmg-background-latest.svg @@ -1,33 +1,30 @@ - + + - - - - - - - + + + + + + + + + + + + + - - - - - - - - - T3 CODE - Desktop - LATEST RELEASE - - - - - - - - Drag T3 Code to Applications - Open it from Applications when the copy finishes. - + + + + + + + T3 Code + FOR MAC + Drag T3 Code into Applications. + + Once copied, open it from Applications. diff --git a/apps/desktop/resources/dmg/dmg-background-nightly.svg b/apps/desktop/resources/dmg/dmg-background-nightly.svg index 8df5e4c07c369703741563cef2990c663ef9ae00..c4b6cc113a6a92361280a379663c2211207df988 100644 --- a/apps/desktop/resources/dmg/dmg-background-nightly.svg +++ b/apps/desktop/resources/dmg/dmg-background-nightly.svg @@ -1,64 +1,30 @@ - + + - - - - - - - - - + + + - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T3 CODE - Desktop - NIGHTLY BUILD - - - - - - - - Drag T3 Code to Applications - Open it from Applications when the copy finishes. - + + + + + + + T3 Code + NIGHTLY + Drag T3 Code into Applications. + + Once copied, open it from Applications. diff --git a/scripts/build-desktop-artifact.test.ts b/scripts/build-desktop-artifact.test.ts index ae2efbcea10e9ba75753f478ec7548cf4516e1e7..b601d3997fd76f683541dff3bd490b58c6b43fd0 100644 --- a/scripts/build-desktop-artifact.test.ts +++ b/scripts/build-desktop-artifact.test.ts @@ -665,12 +665,12 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { assert.deepStrictEqual(mac.dmg, { title: "T3 Code (Alpha) 1.2.3 Installer", background: "dmg/dmg-background-latest.png", - window: { width: 540, height: 412 }, + window: { width: 640, height: 432 }, contents: [ - { x: 130, y: 220, type: "file" }, - { x: 410, y: 220, type: "link", path: "/Applications" }, + { x: 166, y: 214, type: "file" }, + { x: 474, y: 214, type: "link", path: "/Applications" }, ], - iconSize: 80, + iconSize: 120, iconTextSize: 12, }); // Linux must register the renderer schemes so the generated .desktop @@ -1640,8 +1640,8 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { "format", "png", "-z", - "380", - "540", + "432", + "640", sourcePath, "--out", path.join(dmgDir, "dmg-background-nightly.png"), @@ -1652,8 +1652,8 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { "format", "png", "-z", - "760", - "1080", + "864", + "1280", sourcePath, "--out", path.join(dmgDir, "dmg-background-nightly@2x.png"), diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.ts index ac18f164eb11172844688aefe78b3479afecdbbc..44d5f0ab12f4570ba648cd12679c761ac8d52b39 100644 --- a/scripts/build-desktop-artifact.ts +++ b/scripts/build-desktop-artifact.ts @@ -2418,8 +2418,8 @@ export const stageDesktopDmgBackground = Effect.fn("stageDesktopDmgBackground")( } for (const output of [ - { suffix: "", width: 540, height: 380 }, - { suffix: "@2x", width: 1080, height: 760 }, + { suffix: "", width: 640, height: 432 }, + { suffix: "@2x", width: 1280, height: 864 }, ] as const) { const targetPath = path.join( stageResourcesDir, @@ -2741,17 +2741,16 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* ( title: `${resolveDesktopProductName(version)} ${version} Installer`, background: `dmg/dmg-background-${updateChannel}.png`, window: { - width: 540, - // Finder counts its 32px title bar in the window bounds. The themed - // background itself is 380px tall, so add the chrome height here to - // keep the full canvas visible. - height: 412, + width: 640, + // The DMG backend derives bounds from the image, including Finder's + // 32px title bar. Keep the last 32px of the artwork free of content. + height: 432, }, contents: [ - { x: 130, y: 220, type: "file" }, - { x: 410, y: 220, type: "link", path: "/Applications" }, + { x: 166, y: 214, type: "file" }, + { x: 474, y: 214, type: "link", path: "/Applications" }, ], - iconSize: 80, + iconSize: 120, iconTextSize: 12, }; }