mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
* Linux: AppImage update information and a .zsync beside it (#349) appimagetool now embeds gh-releases-zsync|<owner>|<repo>|latest|photocraft-*-linux-<arch>.AppImage.zsync (owner/repo from GITHUB_REPOSITORY, default storytold/photocraft), so AppImageUpdate, AppImageLauncher and the like can find the next release and fetch only the blocks that changed. With zsyncmake on the host it also writes the .zsync, into its working directory, so the script runs it in $DIST and warns when the file is missing. The release job installs zsync and checks the embedded string and the .zsync before uploading; docs/releasing.md lists the new asset. Verified locally with packaging/linux/package.sh --skip-build --formats appimage and zsyncmake from Ubuntu 22.04: --appimage-updateinformation prints the string, and the .zsync's URL is the AppImage's basename. * package.sh: absolute AppDir and appimagetool paths before running in $DIST appimagetool now runs inside $DIST so zsyncmake writes the .zsync there, which broke relative CARGO_TARGET_DIR / APPIMAGETOOL paths (AGENTS.md suggests target/agent-<name>). Resolve both first, remove a stale .zsync so a missing zsyncmake is reported, and list the .zsync and zsyncmake in the header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bflatastic <bombayapirat@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
bflatastic
parent
8a8371395b
commit
51d85c1170
+5
-2
@@ -51,8 +51,8 @@ in the dialog.
|
||||
| macOS 11+ (universal: Apple silicon + Intel) | `photocraft-<v>-macos-universal.dmg`, `photocraft-cli-<v>-macos-universal.zip` | `macos-15` |
|
||||
| Windows 10+ x64 | `photocraft-<v>-windows-x64.msi`, `photocraft-<v>-windows-x64-portable.zip` | `windows-latest` |
|
||||
| Windows 10+ x86 (32-bit) | `photocraft-<v>-windows-x86.msi`, `photocraft-<v>-windows-x86-portable.zip` | `windows-latest` |
|
||||
| Linux x86_64 | `photocraft-<v>-linux-x86_64.{AppImage,deb,rpm,tar.gz,flatpak}` | `ubuntu-22.04` (Flatpak: `ubuntu-24.04`) |
|
||||
| Linux aarch64 | `photocraft-<v>-linux-aarch64.{AppImage,deb,rpm,tar.gz,flatpak}` | `ubuntu-22.04-arm` (Flatpak: `ubuntu-24.04-arm`) |
|
||||
| Linux x86_64 | `photocraft-<v>-linux-x86_64.{AppImage,AppImage.zsync,deb,rpm,tar.gz,flatpak}` | `ubuntu-22.04` (Flatpak: `ubuntu-24.04`) |
|
||||
| Linux aarch64 | `photocraft-<v>-linux-aarch64.{AppImage,AppImage.zsync,deb,rpm,tar.gz,flatpak}` | `ubuntu-22.04-arm` (Flatpak: `ubuntu-24.04-arm`) |
|
||||
| FreeBSD 14 x86_64 | `photocraft-<v>-freebsd-x86_64.tar.gz` | FreeBSD 14.3 VM on `ubuntu-latest` |
|
||||
| Web | `photocraft-web-<v>.zip` (static site; see [`packaging/web/README.md`](../packaging/web/README.md)) | `ubuntu-latest` |
|
||||
|
||||
@@ -159,6 +159,9 @@ Why these formats:
|
||||
- **AppImage** runs on any distribution without installing anything. It's the
|
||||
download-and-go option and the fallback for distros the packages don't cover. It's built
|
||||
with the maintained `AppImage/appimagetool`, whose static runtime doesn't need libfuse2.
|
||||
Each AppImage embeds update information (`gh-releases-zsync|…|latest|…`, #349) and ships
|
||||
with a `.zsync` beside it, so AppImageUpdate, AppImageLauncher and similar tools can find
|
||||
the next release and download only the blocks that changed.
|
||||
- **.deb** covers Debian, Ubuntu, Mint, Pop!_OS and elementary. **.rpm** covers Fedora, RHEL
|
||||
and its clones, and openSUSE. Both integrate with the menu, MIME and icon caches (the
|
||||
`postinst.sh` hook) and uninstall cleanly. Both are built by
|
||||
|
||||
Reference in New Issue
Block a user