build: add linuxbuild.sh to generate an AppImage file for portable distribution - #138
Open
joshanne wants to merge 2 commits into
Open
build: add linuxbuild.sh to generate an AppImage file for portable distribution#138joshanne wants to merge 2 commits into
joshanne wants to merge 2 commits into
Conversation
joshanne
force-pushed
the
pr/add-app-image-generation-script
branch
from
August 4, 2026 11:18
793f596 to
226bb73
Compare
joshanne
force-pushed
the
pr/add-app-image-generation-script
branch
from
August 4, 2026 23:21
226bb73 to
f05641e
Compare
This was referenced Aug 5, 2026
There was a problem hiding this comment.
Pull request overview
Adds a Linux packaging path to the repo by introducing an AppImage build script (modeled after the existing macOS build flow) and a GitHub Actions workflow to generate and upload the AppImage artifact for portable distribution on Ubuntu/Linux.
Changes:
- Add
linuxbuild.shto build a PyInstaller-based AppDir and package it into an AppImage viaappimagetool. - Add
.github/workflows/linuxbuild.ymlto run the Linux AppImage build on CI and uploaddist/*.AppImageartifacts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| linuxbuild.sh | New Linux build script to create an AppImage from the Python project using PyInstaller + AppImageKit tooling. |
| .github/workflows/linuxbuild.yml | New CI workflow to run the Linux AppImage build and publish the resulting artifact. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+58
to
+63
| # Download appimagetool if not exists | ||
| if [ ! -f "appimagetool-x86_64.AppImage" ]; then | ||
| echo "Downloading appimagetool..." | ||
| wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" | ||
| chmod +x appimagetool-x86_64.AppImage | ||
| fi |
Comment on lines
+11
to
+13
| # Create and activate a clean virtual environment | ||
| python3 -m venv venv | ||
| source venv/bin/activate |
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.
I needed a way to be able to easily distribute a standalone/portable executable to linux (ubuntu) users of the tool without having to setup full python environments.
Takes inspiration from the
macbuild.shimplementation.Generates an AppImage that can be launched on linux operating systems to use the tool.
Added a github action workflow for generating the AppImage.