v1.0.2: multi-episode rename (S01E01-E02), VERSION file, docs
Made-with: Cursor
This commit is contained in:
+9
-1
@@ -54,9 +54,17 @@ 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
|
||||
if command -v appimagetool &>/dev/null; then
|
||||
OUT="${APP_NAME}.AppImage"
|
||||
appimagetool "$APPDIR" "$OUT"
|
||||
# shellcheck disable=SC2086
|
||||
appimagetool $UPDATE_INFO "$APPDIR" "$OUT"
|
||||
echo "Done: $OUT"
|
||||
else
|
||||
echo "AppDir is ready at $APPDIR/"
|
||||
|
||||
Reference in New Issue
Block a user