mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-19 02:10:49 -05: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>