fix(desktop): include Linux package license and app metadata (#16597)
This commit is contained in:
1 parent
c9b21b28e2
commit
f4f148eb67
2 files changed
+44
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.t3tools.t3code</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MIT</project_license>
|
||||
<name>T3 Code</name>
|
||||
<summary>Desktop GUI for coding agents</summary>
|
||||
<developer id="com.t3tools">
|
||||
<name>T3 Tools Inc.</name>
|
||||
</developer>
|
||||
<description>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
Connect from desktop, web, or mobile to continue working remotely.
|
||||
</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">t3code.desktop</launchable>
|
||||
<icon type="stock">t3code</icon>
|
||||
<provides>
|
||||
<binary>t3code</binary>
|
||||
</provides>
|
||||
<categories>
|
||||
<category>Development</category>
|
||||
</categories>
|
||||
<url type="homepage">https://t3.codes</url>
|
||||
<url type="bugtracker">https://github.com/pingdotgg/t3code/issues</url>
|
||||
<url type="vcs-browser">https://github.com/pingdotgg/t3code</url>
|
||||
</component>
|
||||
@@ -929,6 +929,7 @@ interface StagePackageJson {
|
||||
readonly private: true;
|
||||
readonly packageManager: string;
|
||||
readonly description: string;
|
||||
readonly license: string;
|
||||
readonly homepage: string;
|
||||
readonly author: string;
|
||||
readonly main: string;
|
||||
@@ -2766,6 +2767,8 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
|
||||
// dynamically loads the system libfuse2 library. Pin the static runtime so
|
||||
// the AppImage also launches on distributions that only provide FUSE 3.
|
||||
buildConfig.toolsets = { appimage: "1.0.3" };
|
||||
const path = yield* Path.Path;
|
||||
const repoRoot = yield* RepoRoot;
|
||||
buildConfig.linux = {
|
||||
// The .deb is built from the same unpacked app after the AppImage.
|
||||
// electron-builder lists both in latest-linux.yml and writes
|
||||
@@ -2794,6 +2797,12 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
|
||||
},
|
||||
};
|
||||
buildConfig.deb = {
|
||||
// FPM runs outside the staged app directory, so source paths must be absolute.
|
||||
// AppStream consumers associate this metadata with our t3code.desktop entry.
|
||||
fpm: [
|
||||
`${path.join(repoRoot, "apps/desktop/resources/linux/com.t3tools.t3code.metainfo.xml")}=/usr/share/metainfo/com.t3tools.t3code.metainfo.xml`,
|
||||
`${path.join(repoRoot, "LICENSE")}=/usr/share/doc/t3code/copyright`,
|
||||
],
|
||||
// Electron's runtime libraries. Debian 13 and Ubuntu 24.04 renamed some
|
||||
// for 64-bit time; the old name is the fallback for older releases.
|
||||
depends: [
|
||||
@@ -3702,7 +3711,9 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
|
||||
t3codeCommitHash: commitHash,
|
||||
private: true,
|
||||
packageManager: rootPackageJson.packageManager,
|
||||
description: "T3 Code desktop build",
|
||||
description:
|
||||
"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.",
|
||||
license: "MIT",
|
||||
// Required by the .deb control file.
|
||||
homepage: "https://t3.codes",
|
||||
author: "T3 Tools",
|
||||
|
||||
Reference in new issue
Block a user