Add Linux support (AppImage) - #11
Merged
Merged
Conversation
The one native piece — the sherpa-onnx voice-cloning addon — already has a Linux branch in pack-agent.cjs, and sherpa-onnx-linux-x64 prebuilds exist on npm, so the rest is wiring: - electron-builder.yml: linux AppImage (x64) target, icon from build/icon.png - release.yml: ubuntu-latest row in the build matrix + publish step + a Linux row in the release download table - ci.yml: a Linux build smoke test (install → typecheck → test → build unsigned AppImage) mirroring the Windows job - desktop + root package.json: build:linux / desktop:build:linux scripts - README, RELEASING, CHANGELOG (0.2.5) Co-Authored-By: Claude Opus 4.8 (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.
Adds a Linux build alongside macOS and Windows, plus CI coverage.
What
chmod +x→ run.ubuntu-latestadded to the build matrix; Linux row in the download table.build:linux/desktop:build:linux.Why it's low-risk
The only native dependency is
sherpa-onnx-node. Its Linux prebuild (sherpa-onnx-linux-x64@1.13.4) already exists on npm, andpack-agent.cjsalready had alinux-<arch>branch — the packing side was written Linux-aware from the start.Verification
pnpm typecheckclean,pnpm test77/77 pass locally.Once CI is green here, tag
v0.2.5to cut the multi-platform release.