@devries-cameron20 / t3code-1 / commits / f4f148eb67
Fork 0

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

fix(desktop): include Linux package license and app metadata (#16597)

Julius Marminge committed Oct 6, 2026 at 14:51 UTC f4f148eb670622a049ae6561d7795011e383fc43
2 files changed +44 -1
apps/desktop/resources/linux/com.t3tools.t3code.metainfo.xml new
+32
@@ -0,0 +1,32 @@
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<component type="desktop-application">
3 + <id>com.t3tools.t3code</id>
4 + <metadata_license>CC0-1.0</metadata_license>
5 + <project_license>MIT</project_license>
6 + <name>T3 Code</name>
7 + <summary>Desktop GUI for coding agents</summary>
8 + <developer id="com.t3tools">
9 + <name>T3 Tools Inc.</name>
10 + </developer>
11 + <description>
12 + <p>
13 + T3 Code is an open-source desktop app for coding agents. Work with your
14 + existing agent subscriptions, review code changes, and run commands in
15 + your projects.
16 + </p>
17 + <p>
18 + Connect from desktop, web, or mobile to continue working remotely.
19 + </p>
20 + </description>
21 + <launchable type="desktop-id">t3code.desktop</launchable>
22 + <icon type="stock">t3code</icon>
23 + <provides>
24 + <binary>t3code</binary>
25 + </provides>
26 + <categories>
27 + <category>Development</category>
28 + </categories>
29 + <url type="homepage">https://t3.codes</url>
30 + <url type="bugtracker">https://github.com/pingdotgg/t3code/issues</url>
31 + <url type="vcs-browser">https://github.com/pingdotgg/t3code</url>
32 +</component>
scripts/build-desktop-artifact.ts
+12 -1
@@ -929,6 +929,7 @@ interface StagePackageJson {
929 readonly private: true;
930 readonly packageManager: string;
931 readonly description: string;
932 + readonly license: string;
933 readonly homepage: string;
934 readonly author: string;
935 readonly main: string;
@@ -2766,6 +2767,8 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
2767 // dynamically loads the system libfuse2 library. Pin the static runtime so
2768 // the AppImage also launches on distributions that only provide FUSE 3.
2769 buildConfig.toolsets = { appimage: "1.0.3" };
2770 + const path = yield* Path.Path;
2771 + const repoRoot = yield* RepoRoot;
2772 buildConfig.linux = {
2773 // The .deb is built from the same unpacked app after the AppImage.
2774 // electron-builder lists both in latest-linux.yml and writes
@@ -2794,6 +2797,12 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
2797 },
2798 };
2799 buildConfig.deb = {
2800 + // FPM runs outside the staged app directory, so source paths must be absolute.
2801 + // AppStream consumers associate this metadata with our t3code.desktop entry.
2802 + fpm: [
2803 + `${path.join(repoRoot, "apps/desktop/resources/linux/com.t3tools.t3code.metainfo.xml")}=/usr/share/metainfo/com.t3tools.t3code.metainfo.xml`,
2804 + `${path.join(repoRoot, "LICENSE")}=/usr/share/doc/t3code/copyright`,
2805 + ],
2806 // Electron's runtime libraries. Debian 13 and Ubuntu 24.04 renamed some
2807 // for 64-bit time; the old name is the fallback for older releases.
2808 depends: [
@@ -3702,7 +3711,9 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
3711 t3codeCommitHash: commitHash,
3712 private: true,
3713 packageManager: rootPackageJson.packageManager,
3705 - description: "T3 Code desktop build",
3714 + description:
3715 + "T3 Code is an open-source desktop app for coding agents. Work with your existing agent subscriptions, review code changes, and run commands in your projects. Connect from desktop, web, or mobile to continue working remotely.",
3716 + license: "MIT",
3717 // Required by the .deb control file.
3718 homepage: "https://t3.codes",
3719 author: "T3 Tools",