From 57ce1132bd0f10c88e4cc7ec240988e60c4acbd3 Mon Sep 17 00:00:00 2001 From: Xarishark Date: Tue, 8 Sep 2026 14:05:13 +0300 Subject: [PATCH 1/2] feat: add zsync support for AppImage release and update documentation for appimage only support --- .github/workflows/create-release.yml | 3 ++ AGENTS.md | 3 +- README.md | 53 +++------------------------- packaging/build-appimage.sh | 5 +-- 4 files changed, 11 insertions(+), 53 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 25d10d7..85664e5 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -67,12 +67,15 @@ jobs: APPIMAGE="dist/SMB-Mount-Manager-${VERSION}-x86_64.AppImage" CHECKSUM="${APPIMAGE}.sha256" + ZSYNC="${APPIMAGE}.zsync" test -f "$APPIMAGE" test -f "$CHECKSUM" + test -f "$ZSYNC" gh release create "v${VERSION}" \ "$APPIMAGE" \ "$CHECKSUM" \ + "$ZSYNC" \ --title "v${VERSION}" \ --generate-notes \ --target "${{ github.sha }}" diff --git a/AGENTS.md b/AGENTS.md index db1af6b..37b721e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -69,8 +69,7 @@ The application is split across two files: not the `mount-manager` symlink. Do not change the helper CLI surface (`--helper {create|delete|upgrade|set-enabled}`) without updating this patch. - If you add a new top-level Python module that the GUI imports, you must add a matching - `install` line in `packaging/build-appimage.sh` AND in the README's manual-install - section. + `install` line in `packaging/build-appimage.sh`. ## Reference docs diff --git a/README.md b/README.md index 22fdd2e..43be65f 100644 --- a/README.md +++ b/README.md @@ -34,25 +34,13 @@ the host so it cannot be decrypted on a different machine. Encrypted credential files live in `/etc/mount-manager/credentials/` as `.cred.enc`. -## RPM - -The RPM package is available through Terra. - -Enable Terra first: - -```bash -sudo sed -i 's/^enabled=0/enabled=1/' /etc/yum.repos.d/terra.repo -``` +## AppImage -Install it on Bazzite with: +Download the latest `SMB-Mount-Manager--x86_64.AppImage` from [Releases](https://github.com/Xarishark/mount-manager/releases). -```bash -rpm-ostree install mount-manager -``` +You can run the AppImage directly, or integrate it with your application menu using [Gear Lever](https://flathub.org/apps/it.mijorus.gearlever). Gear Lever will automatically detect and offer updates when a new release is published. -Reboot after installation to boot into the new deployment. - -## AppImage +### Notes on AppImage Support Release AppImages are Bazzite-focused. They are intended for Bazzite and similar Fedora-based systems that already provide the desktop and system integration this @@ -62,36 +50,3 @@ systemd 258 or newer with `systemd-creds`. The AppImage is not intended to be a fully self-contained cross-distro package. It packages the app entrypoint and desktop assets while relying on the host for the system tools required to create and manage SMB mounts. - -## Test as an installed app on Bazzite - -From the repository root, enable a transient `/usr` overlay: - -```bash -sudo rpm-ostree usroverlay -``` - -Install the app files into the overlay: - -```bash -sudo install -D -m 0755 mount_manager.py /usr/bin/mount-manager -sudo install -D -m 0644 mount_manager_ui.py /usr/bin/mount_manager_ui.py -sudo install -D -m 0644 data/applications/io.github.xarishark.mount-manager.desktop /usr/share/applications/io.github.xarishark.mount-manager.desktop -sudo install -D -m 0644 data/icons/hicolor/scalable/apps/io.github.xarishark.mount-manager.svg /usr/share/icons/hicolor/scalable/apps/io.github.xarishark.mount-manager.svg -sudo install -D -m 0644 data/metainfo/io.github.xarishark.mount-manager.metainfo.xml /usr/share/metainfo/io.github.xarishark.mount-manager.metainfo.xml -``` - -Refresh desktop and icon caches: - -```bash -sudo update-desktop-database /usr/share/applications -sudo gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -``` - -Run the installed desktop entry: - -```bash -mount-manager -``` - -As the overlay is temporary its cleaned up just by rebooting. diff --git a/packaging/build-appimage.sh b/packaging/build-appimage.sh index b5f2a59..1abc8ba 100755 --- a/packaging/build-appimage.sh +++ b/packaging/build-appimage.sh @@ -165,8 +165,9 @@ if [ ! -x "$appimagetool" ]; then exit 1 fi -rm -f "$output" "$output.sha256" -ARCH="$arch" APPIMAGE_EXTRACT_AND_RUN=1 "$appimagetool" --no-appstream "$appdir" "$output" +rm -f "$output" "$output.sha256" "$output.zsync" +UPDATE_INFO="gh-releases-zsync|Xarishark|mount-manager|latest|SMB-Mount-Manager-*-x86_64.AppImage.zsync" +ARCH="$arch" APPIMAGE_EXTRACT_AND_RUN=1 "$appimagetool" -u "$UPDATE_INFO" --no-appstream "$appdir" "$output" chmod 0755 "$output" ( From f121dcf13ed58ab63063002f2ff8bc352b99e840 Mon Sep 17 00:00:00 2001 From: Xarishark Date: Tue, 8 Sep 2026 14:09:24 +0300 Subject: [PATCH 2/2] chore: update release version to 0.1.7 --- data/metainfo/io.github.xarishark.mount-manager.metainfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/metainfo/io.github.xarishark.mount-manager.metainfo.xml b/data/metainfo/io.github.xarishark.mount-manager.metainfo.xml index 9b5933a..6d5695f 100644 --- a/data/metainfo/io.github.xarishark.mount-manager.metainfo.xml +++ b/data/metainfo/io.github.xarishark.mount-manager.metainfo.xml @@ -30,7 +30,7 @@ - +