@devries-cameron20 / t3code Mirror · read-only / commits / 1d152c3df4
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 23:30 UTC

fix(desktop): Group Linux windows under the installed launcher (#10895)

Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: maria-rcks <maria@kuuro.net>

Mike Olson committed Nov 11, 2026 at 11:58 UTC 1d152c3df4c54419c0e85070d8f89bc302f36658
4 files changed +20 -3
packaging/aur/t3code-bin/PKGBUILD
+1 -1
@@ -94,7 +94,7 @@ TryExec=t3code
94 Terminal=false
95 Type=Application
96 Icon=t3code
97 -StartupWMClass=t3code
97 +StartupWMClass=com.t3tools.T3Code
98 Categories=Development;
99 MimeType=x-scheme-handler/t3code;
100 EOF
packaging/aur/t3code-nightly-bin/PKGBUILD
+1 -1
@@ -95,7 +95,7 @@ TryExec=t3code-nightly
95 Terminal=false
96 Type=Application
97 Icon=t3code-nightly
98 -StartupWMClass=t3code
98 +StartupWMClass=com.t3tools.T3Code
99 Categories=Development;
100 MimeType=x-scheme-handler/t3code;
101 EOF
scripts/build-desktop-artifact.test.ts
+16
@@ -547,6 +547,22 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
547 ),
548 );
549
550 + it.effect("names the Electron window class in the Linux desktop entry", () =>
551 + Effect.gen(function* () {
552 + const linux = yield* createBuildConfig(
553 + "linux",
554 + "AppImage",
555 + "0.0.33",
556 + false,
557 + false,
558 + undefined,
559 + undefined,
560 + );
561 +
562 + assert.nestedPropertyVal(linux, "linux.desktop.entry.StartupWMClass", "com.t3tools.T3Code");
563 + }),
564 + );
565 +
566 it.effect("declares Calendar access for hosted commands in macOS builds", () =>
567 Effect.gen(function* () {
568 for (const version of ["0.1.0", "0.1.1-nightly.20261019.1"]) {
scripts/build-desktop-artifact.ts
+2 -1
@@ -2921,7 +2921,8 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
2921 ],
2922 desktop: {
2923 entry: {
2924 - StartupWMClass: "t3code",
2924 + // Match Electron's WM_CLASS from setDesktopName so docks use this launcher.
2925 + StartupWMClass: "com.t3tools.T3Code",
2926 },
2927 },
2928 };