Skip to content

build: add linuxbuild.sh to generate an AppImage file for portable distribution - #138

Open
joshanne wants to merge 3 commits into
dronecan:masterfrom
joshanne:pr/add-app-image-generation-script
Open

build: add linuxbuild.sh to generate an AppImage file for portable distribution#138
joshanne wants to merge 3 commits into
dronecan:masterfrom
joshanne:pr/add-app-image-generation-script

Conversation

@joshanne

@joshanne joshanne commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

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.sh implementation.

Generates an AppImage that can be launched on linux operating systems to use the tool.

Added a github action workflow for generating the AppImage.

@joshanne
joshanne force-pushed the pr/add-app-image-generation-script branch 2 times, most recently from 226bb73 to f05641e Compare August 4, 2026 23:21
@joshanne joshanne added this to the DroneCAN GUI Tool Release milestone Aug 4, 2026
@joshanne
joshanne requested a lite review from Copilot August 6, 2026 09:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh to build a PyInstaller-based AppDir and package it into an AppImage via appimagetool.
  • Add .github/workflows/linuxbuild.yml to run the Linux AppImage build on CI and upload dist/*.AppImage artifacts.

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 thread linuxbuild.sh
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 thread linuxbuild.sh
Comment on lines +11 to +13
# Create and activate a clean virtual environment
python3 -m venv venv
source venv/bin/activate
@joshanne
joshanne force-pushed the pr/add-app-image-generation-script branch from f05641e to 54bfebc Compare August 13, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants