Skip to content

Commit 5de1613

Browse files
committed
docs(release): the nightly cask keeps its app name
1 parent 1355326 commit 5de1613

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎docs/operations/release.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ This document covers the unified release workflow for stable and nightly desktop
77
Beta is the product label, not a release channel or version suffix. Release channels
88
remain stable and nightly. To ship 0.1.0 Beta, use `channel=stable` and
99
`version=0.1.0`. Removing the Beta label later is a branding change independent of
10-
the version. Keep the macOS bundle filename `T3 Code (Beta).app` unchanged so
11-
Squirrel.Mac can relaunch after label or channel changes. When the first nightly
12-
with this filename ships, update the external `t3-code@nightly` Homebrew cask
13-
to use `app "T3 Code (Beta).app"`.
10+
the version. Keep the macOS executable name `T3 Code (Beta)` unchanged so
11+
Squirrel.Mac can relaunch after label or channel changes. The nightly DMG still
12+
installs as `T3 Code (Nightly).app`, beside stable, so the `t3-code@nightly`
13+
Homebrew cask needs no change.
1414

1515
## What the workflow does
1616

‎scripts/build-desktop-artifact.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ import { ChildProcess, ChildProcessSpawner } from "effect/process";
6464
const LINUX_ICON_SIZES = [16, 22, 24, 32, 48, 64, 128, 256, 512] as const;
6565
const DESKTOP_APP_ID = "com.t3tools.t3code";
6666

67-
// Keep the installed path stable: Squirrel.Mac relaunches from the old path after an update.
67+
// Squirrel.Mac renames an install named after its executable to the update's executable,
68+
// then relaunches from the old path. One executable name for every channel keeps it in place.
6869
const MAC_BUNDLE_FILENAME = "T3 Code (Beta)";
6970
const APPLE_TEAM_ID_PATTERN = /^[A-Z0-9]{10}$/u;
7071

0 commit comments

Comments
 (0)