feat(code): add Linux AppImage build target#2130
Draft
gantoine wants to merge 1 commit into
Draft
Conversation
Adds @reforged/maker-appimage so Forge produces x64 and arm64 AppImages
alongside the existing macOS/Windows artifacts. The release workflow gains
a publish-linux matrix job (ubuntu-latest + ubuntu-24.04-arm) which
installs the AppImage tooling (squashfs-tools, zsync, libfuse2t64) before
running electron-forge publish, and finalize-release now depends on it.
Also includes a make:linux script that builds the AppImage from macOS via
Docker for local verification, since electron-forge can't natively
cross-build AppImages from darwin.
Drive-by fix: remove a duplicate `const { isOnline } = useConnectivity()`
in SessionView.tsx that came in via a merge collision between #1971 and
#2121 and was failing typecheck on main.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@reforged/maker-appimageand registers it inforge.config.tsso Forge produces x64 + arm64 Linux AppImages alongside the existing macOS DMG/ZIP and Windows installer.publish-linuxmatrix job (ubuntu-latest+ubuntu-24.04-arm) tocode-release.ymlthat installs the AppImage tooling (squashfs-tools,zsync,libfuse2t64) and runselectron-forge publish.finalize-releasenow depends on this job too.pnpm --filter code make:linuxscript that builds the AppImage from macOS via Docker (tar-streamed source, container-sidenode_modules) for local verification, sinceelectron-forgecan't natively cross-build AppImages from darwin.const { isOnline } = useConnectivity()inSessionView.tsxleft behind by a merge collision between fix(sessions): preserve prompt when sending while offline #1971 and fix(sessions): disable message send when offline #2121 — was failing typecheck onmain.Test plan
v0.0.0-linuxtest1tag and verifypublish-linuxproduces both x64 and arm64 AppImages in the draft GitHub releasefinalize-releasewaits for all three platform jobs before un-draftingpnpm --filter code make:linuxproduces an AppImage underapps/code/out/make/(requires Docker Desktop ≥ 8 GB memory)needswas extended)Notes
libfuse2t64is the Ubuntu 24.04 package name; ifubuntu-latestis bumped past 24.04 in the future, that line may need adjusting.🤖 Generated with Claude Code