GeezerVison is showing github.com — docs(release): the nightly cask keeps its app name · pingdotgg/t3code@5de1613
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: docs/operations/release.md +4-4Lines changed: 4 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,10 +7,10 @@ This document covers the unified release workflow for stable and nightly desktop |
7 | 7 | Beta is the product label, not a release channel or version suffix. Release channels |
8 | 8 | remain stable and nightly. To ship 0.1.0 Beta, use `channel=stable` and |
9 | 9 | `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. |
14 | 14 |
|
15 | 15 | ## What the workflow does |
16 | 16 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: scripts/build-desktop-artifact.ts +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -64,7 +64,8 @@ import { ChildProcess, ChildProcessSpawner } from "effect/process"; |
64 | 64 | const LINUX_ICON_SIZES = [16, 22, 24, 32, 48, 64, 128, 256, 512] as const; |
65 | 65 | const DESKTOP_APP_ID = "com.t3tools.t3code"; |
66 | 66 |
|
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. |
68 | 69 | const MAC_BUNDLE_FILENAME = "T3 Code (Beta)"; |
69 | 70 | const APPLE_TEAM_ID_PATTERN = /^[A-Z0-9]{10}$/u; |
70 | 71 |
|
|