From 59dba20c1e30eecac143dcfef1c31dd65fb0b5a9 Mon Sep 17 00:00:00 2001 From: Bulk Renamer Date: Sun, 29 Mar 2026 20:57:25 -0500 Subject: [PATCH] build: remove invalid appimagetool -u url| (not supported) Made-with: Cursor --- build_appimage.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/build_appimage.sh b/build_appimage.sh index 00d55ed..2729013 100755 --- a/build_appimage.sh +++ b/build_appimage.sh @@ -54,17 +54,10 @@ else fi echo "=== Building AppImage (requires appimagetool) ===" -# Optional: set VERSION when building for release so update info is embedded (for Gear Lever etc.) -# e.g. VERSION=v1.0.1 ./build_appimage.sh -GITEA_RELEASES="http://brassnet.ddns.net:33983/Dawnsorrow/HS-Rename/releases" -UPDATE_INFO="" -if [[ -n "${VERSION:-}" ]]; then - UPDATE_INFO="-u url|${GITEA_RELEASES}/download/${VERSION}/HSRename.AppImage" -fi +# Note: appimagetool does not accept plain https URLs for -u; use zsync/gh-releases-zsync per AppImage docs. if command -v appimagetool &>/dev/null; then OUT="${APP_NAME}.AppImage" - # shellcheck disable=SC2086 - appimagetool $UPDATE_INFO "$APPDIR" "$OUT" + appimagetool "$APPDIR" "$OUT" echo "Done: $OUT" else echo "AppDir is ready at $APPDIR/"