Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,29 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile

- name: Setup AppImage tooling
if: matrix.platform == 'linux'
shell: bash
run: |
set -euo pipefail
if command -v appimagetool >/dev/null 2>&1; then
exit 0
fi

tool_dir="$RUNNER_TEMP/appimage-tools"
mkdir -p "$tool_dir"
curl -fsSL \
-o "$tool_dir/appimagetool.AppImage" \
"https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
Comment thread
Chrono-byte marked this conversation as resolved.
Outdated
chmod +x "$tool_dir/appimagetool.AppImage"
cat > "$tool_dir/appimagetool" <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
APPIMAGE_EXTRACT_AND_RUN=1 "$(dirname "$0")/appimagetool.AppImage" "$@"
EOF
chmod +x "$tool_dir/appimagetool"
echo "$tool_dir" >> "$GITHUB_PATH"

- name: Build desktop artifact
shell: bash
env:
Expand Down Expand Up @@ -184,6 +207,9 @@ jobs:
fi
else
echo "Signing disabled for ${{ matrix.platform }}."
if [[ "${{ matrix.platform }}" == "linux" ]]; then
args+=(--inject-appimage-update-metadata --appimage-update-repository "${GITHUB_REPOSITORY}")
fi
fi

bun run dist:desktop:artifact -- "${args[@]}"
Expand All @@ -199,6 +225,7 @@ jobs:
"release/*.dmg" \
"release/*.zip" \
"release/*.AppImage" \
"release/*.AppImage.zsync" \
"release/*.exe" \
"release/*.blockmap" \
"release/latest*.yml"; do
Expand Down Expand Up @@ -292,6 +319,7 @@ jobs:
release-assets/*.dmg
release-assets/*.zip
release-assets/*.AppImage
release-assets/*.AppImage.zsync
release-assets/*.exe
release-assets/*.blockmap
release-assets/latest*.yml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.pingdotgg.t3code.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>T3 Code</name>
<summary>Minimal desktop GUI client for code agents and developer workflows</summary>
<description>
<p>
T3 Code is a minimal desktop client for interacting with coding agents from a single,
consistent interface.
</p>
<p>
It connects to supported backends and provides an opinionated workflow for running and
reviewing LLM-assisted changes while keeping terminal and session state local.
</p>
</description>
<developer id="io.github.pingdotgg">
<name>T3 Tools</name>
</developer>
<launchable type="desktop-id">t3-code-desktop.desktop</launchable>
<url type="homepage">https://github.com/pingdotgg/t3code</url>
<content_rating type="oars-1.1" />
<releases>
<release version="__T3CODE_APP_VERSION__" date="__T3CODE_RELEASE_DATE__"/>
</releases>
<provides>
<binary>t3-code-desktop</binary>
</provides>
</component>
Loading
Loading