Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packaging/aur/t3code-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ TryExec=t3code
Terminal=false
Type=Application
Icon=t3code
StartupWMClass=t3code
StartupWMClass=com.t3tools.T3Code
Categories=Development;
MimeType=x-scheme-handler/t3code;
EOF
Expand Down
2 changes: 1 addition & 1 deletion packaging/aur/t3code-nightly-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ TryExec=t3code-nightly
Terminal=false
Type=Application
Icon=t3code-nightly
StartupWMClass=t3code
StartupWMClass=com.t3tools.T3Code
Categories=Development;
MimeType=x-scheme-handler/t3code;
EOF
Expand Down
3 changes: 3 additions & 0 deletions scripts/build-desktop-artifact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
assert.deepStrictEqual((linux.linux as Record<string, unknown>).protocols, [
{ name: "T3 Code", schemes: ["t3code", "t3code-dev"] },
]);
assert.deepStrictEqual((linux.linux as Record<string, unknown>).desktop, {
entry: { StartupWMClass: "com.t3tools.T3Code" },
});
assert.deepStrictEqual(mac.files, [...DESKTOP_FILE_EXCLUSIONS, ...MAC_FILE_EXCLUSIONS]);
assert.deepStrictEqual(linux.files, [...DESKTOP_FILE_EXCLUSIONS, ...LINUX_FILE_EXCLUSIONS]);
assert.deepStrictEqual(win.files, DESKTOP_FILE_EXCLUSIONS);
Expand Down
4 changes: 3 additions & 1 deletion scripts/build-desktop-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2785,7 +2785,9 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
],
desktop: {
entry: {
StartupWMClass: "t3code",
// Matches the app id from setDesktopName, so docks group the running
// window under this launcher rather than the hidden URL handler.
StartupWMClass: "com.t3tools.T3Code",
},
},
};
Expand Down