Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(desktop): Add a Linux .deb to releases #4900

Closedbenthecarman(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/4900/headopened View on GitHub

What Changed

Linux releases now publish a .deb alongside the AppImage, built from the same electron-builder run by adding deb to the Linux target list (plus the homepage and maintainer metadata the Debian control file requires) and including *.deb in the workflow's collect and publish steps.

Made with gpt-5.6-sol

Why

The AppImage was the only Linux artifact, so anyone who installs through a package manager had no supported path — no desktop entry, no /usr/bin entry, and no dpkg/apt upgrades — and since the .deb reuses the already-staged app, the release gains it without a second build

UI Changes

None

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk Changes are limited to Linux packaging metadata, release asset globbing, marketing download links, and tests; no auth, server, or updater behavior changes beyond documenting AppImage-only updates.

Overview Linux desktop packaging now produces a companion .deb from the same electron-builder run as the AppImage by extending the Linux target list with deb, and setting linux.maintainer plus staged homepage metadata required for Debian control files.

The release workflow collects and publishes *.deb with the other desktop assets. The marketing download page adds a Debian/Ubuntu .deb card, and internal docs describe the new artifact.

In-app auto-updates on Linux remain AppImage-only; .deb installs are manual via dpkg/apt.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a81713aa69919ea1c177536ad8a4d1bd89edfa6f. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Add Linux .deb package to desktop releases

  • Updates build-desktop-artifact.ts to build a deb target alongside the AppImage on Linux, setting DESKTOP_LINUX_MAINTAINER and homepage metadata required for Debian control files.
  • Updates the release workflow to stage and upload *.deb files to GitHub Releases alongside existing artifacts.
  • Adds a Debian/Ubuntu download card to the marketing downloads page pointing to the new .deb artifact.
  • Behavioral Change: Linux AppImage builds now also produce a .deb; the .deb is manual-install only — in-app updates on Linux remain AppImage-only.
Macroscope summarized a81713a.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: 3df9af83-d9c4-4859-9aa4-9e6c432090d1

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Needs human review

      This PR adds a new Linux .deb distribution format to releases, introducing new user-facing download options and modifying the production release pipeline. New features affecting release artifacts warrant human review.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).

Sign in to join this conversation.