Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(desktop): keep Linux AppImage filename stable across updates #9946

ClosedImBIOS(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/9946/headopened View on GitHub

Showing 2 changed files with 24 additions and 0 deletions.

x
0 of 2 viewed, 2 left
9 additions and 0 deletionsscripts/build-desktop-artifact.test.tsModified
View file
@@ -51,6 +51,7 @@
resolveDesktopProductName,
resolveDesktopUpdateChannel,
resolveDesktopWebAssetBrand,
+ resolveLinuxArtifactName,
resolveResourceMonitorRustTargets,
resolveWindowsServerAsarIgnoreGlobs,
resourceMonitorExecutableName,
@@ -264,6 +265,14 @@
assert.equal(resolveDesktopProductName("0.0.17-nightly.20260413.42"), "T3 Code (Nightly)");
});
​
+ it("keeps Linux artifact names version-free so updates preserve dock pins", () => {
+ assert.equal(resolveLinuxArtifactName("0.0.17"), "T3-Code-${arch}.${ext}");
+ assert.equal(
+ resolveLinuxArtifactName("0.0.17-nightly.20260413.42"),
+ "T3-Code-Nightly-${arch}.${ext}",
+ );
+ });
+​
it("switches desktop packaging icons to the nightly artwork for nightly versions", () => {
assert.deepStrictEqual(resolveDesktopBuildIconAssets("0.0.17"), {
macIconPng: BRAND_ASSET_PATHS.productionMacIconPng,
15 additions and 0 deletionsscripts/build-desktop-artifact.tsModified
View file
@@ -2562,6 +2562,18 @@
: (desktopPackageJson.productName ?? "T3 Code");