Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Linux AppImage filename embeds the version, breaking dock pins and shortcuts on every update #9945

ClosedImBIOS(GitHub profile, opens in a new tab) opened this issue 2 comments

Every T3 Code update ships a differently-named AppImage (T3-Code-<version>-<arch>[_<hash>].AppImage, from artifactName: "T3-Code-${version}-${arch}.${ext}" in scripts/build-desktop-artifact.ts). On Linux this orphans everything that references the file by path:

  • GNOME dock pins (favorites reference the desktop-file entry AppImageLauncher creates per file, so the pinned icon dies or duplicates every update)
  • manual .desktop entries, scripts, and file associations pointing at ~/Applications/T3-Code-*.AppImage
  • stale processes: the previous version's file is deleted while still running (exe -> /memfd:runtime (deleted)), and the ghost keeps Electron's SingletonLock, so the next launch silently exits 0 with no window (seen twice after nightly updates)

This is a known electron-updater hazard (electron-userland/electron-builder#5810, #2964). The recommended practice, per the Buttercup maintainer in #5810, is to omit the version from the .AppImage artifact itself — same as the mac .app, which carries no version while the .dmg does. electron-updater then keeps one stable filename and replaces it in place, so pins, shortcuts, and integrations survive updates.

Suggested fix: Linux-only artifactName without the version (keep arch, and keep nightly vs stable distinguishable since both can live in ~/Applications), e.g. T3-Code-${arch}.AppImage / T3-Code-Nightly-${arch}.AppImage. dmg/nsis keep versioned names.

Open question: installed files also carry a trailing _<32-hex> suffix (...-x86_64_5d4a96718e421920d749909f9efff5d4.AppImage) that is not in artifactName — worth confirming its source survives this change (updater download naming?).

Environment: Ubuntu 24.04 / GNOME / AppImageLauncher, nightly 0.0.39.

  1. Duplicate of #8944 — same versioned AppImage artifactName breaking dock pins / desktop entries / symlinks on update. Tracking and suggested stable T3-Code-${arch}.AppImage naming are already there; open fix: #8983.

  2. juliusmarminge added labelsduplicate

  3. Closing as duplicate of #8944.

  4. juliusmarminge closed this

Sign in to join this conversation.