Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
3 changes: 1 addition & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
53 changes: 4 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
`<id>.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-<version>-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
Expand All @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</categories>

<releases>
<release version="0.1.6" date="2026-05-16" />
<release version="0.1.7" date="2026-09-08" />
</releases>
<content_rating type="oars-1.1" />
</component>
5 changes: 3 additions & 2 deletions packaging/build-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

(
Expand Down