diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 57d65d0..5f35110 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -65,6 +65,22 @@ jobs: chmod +x packaging/build_deb.sh ./packaging/build_deb.sh dist/${{ matrix.artifact_name }} + - name: Build AppImage (Linux) + if: matrix.os == 'ubuntu-latest' + run: | + mkdir -p voxvera/resources/bin + cp dist/${{ matrix.artifact_name }} voxvera/resources/bin/voxvera-linux-x86_64 + chmod +x packaging/build_appimage.sh + ./packaging/build_appimage.sh + + - name: Build Flatpak (Linux) + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y flatpak flatpak-builder + chmod +x packaging/build_flatpak.sh + ./packaging/build_flatpak.sh || echo "Flatpak build failed" + - name: Build .dmg (macOS) if: matrix.os == 'macos-latest' run: | @@ -79,6 +95,8 @@ jobs: dist/${{ matrix.artifact_name }} voxvera/resources/bin/*.deb voxvera/resources/bin/*.dmg + voxvera/resources/bin/*.AppImage + voxvera/resources/bin/*.flatpak - name: Release uses: softprops/action-gh-release@v2 @@ -88,6 +106,8 @@ jobs: dist/${{ matrix.artifact_name }} voxvera/resources/bin/*.deb voxvera/resources/bin/*.dmg + voxvera/resources/bin/*.AppImage + voxvera/resources/bin/*.flatpak fail_on_unmatched_files: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 6d1f271..30de347 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,12 @@ voxvera/src/qrcode-tear-offs.png # PyInstaller *.spec dist_bin/ -voxvera/resources/bin/voxvera-* -site/download/voxvera-portable.zip +voxvera/resources/bin/* +!voxvera/resources/bin/.gitkeep +site/download/*.zip +site/download/*.exe +site/download/*.deb +site/download/*.dmg +site/download/*.AppImage +site/download/*.flatpak site/download/voxvera-linux diff --git a/UPCOMING_RELEASE.md b/UPCOMING_RELEASE.md index f548693..20fa549 100644 --- a/UPCOMING_RELEASE.md +++ b/UPCOMING_RELEASE.md @@ -1,14 +1,7 @@ -# Upcoming Release Notes - -*This document serves as a running changelog for the NEXT version of VoxVera. AI agents must append notable changes here as they are completed. Once a release is explicitly requested by the user, these notes will be used to format the GitHub Release description, and this file should be cleared/reset for the next cycle.* - -### Version: Unreleased +### Version: v0.1.8 #### 🚀 New Features -- *(Add new features here)* - -#### 🛠 Improvements -- *(Add improvements here)* +- **Automated Flatpak & AppImage Releases:** Integrated the Linux AppImage and Flatpak generation into the GitHub Actions CI/CD pipeline. Every release now automatically receives these portable formats. #### 🐛 Bug Fixes -- *(Add bug fixes here)* +- **AppImage Launch Fix:** Resolved a critical issue where the AppImage would fail to launch due to a missing `AppRun` entrypoint. diff --git a/packaging/build_appimage.sh b/packaging/build_appimage.sh index 2851f61..296f26f 100755 --- a/packaging/build_appimage.sh +++ b/packaging/build_appimage.sh @@ -17,6 +17,10 @@ mkdir -p "$APPDIR/usr/bin" cp "$BINARY" "$APPDIR/usr/bin/voxvera" chmod +x "$APPDIR/usr/bin/voxvera" +# AppRun symlink (Crucial for AppImage to launch) +ln -sf usr/bin/voxvera "$APPDIR/AppRun" +chmod +x "$APPDIR/AppRun" + # Desktop file cat > "$APPDIR/voxvera.desktop" <