From c3a07295017470abcd17d304f4a5ecd3782b9bce Mon Sep 17 00:00:00 2001 From: uninstall-your-browser <170106706+uninstall-your-browser@users.noreply.github.com> Date: Wed, 24 Jul 2024 08:30:26 +1000 Subject: [PATCH 1/2] Fix update filename having spaces in it --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f7a7c07..7e83a4c 100755 --- a/build.sh +++ b/build.sh @@ -184,8 +184,10 @@ echo "==> Build $APP_SHORT_NAME AppImage" wget https://github.com/AppImage/Appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage chmod +x *.AppImage +APP_NAME_NO_SPACES=${APP_SHORT_NAME// /_} + if [ "$GITHUB_RUNNING_ACTION" == true ]; then - ARCH=x86_64 ./appimagetool-x86_64.AppImage --comp zstd "$APP_DIRECTORY" -n -u "gh-releases-zsync|$GH_USER|$GH_REPO|latest|$APP_SHORT_NAME*.AppImage.zsync" + ARCH=x86_64 ./appimagetool-x86_64.AppImage --comp zstd "$APP_DIRECTORY" -n -u "gh-releases-zsync|$GH_USER|$GH_REPO|latest|$APP_NAME_NO_SPACES*.AppImage.zsync" echo "APP_NAME=$APP_NAME" >> "$GITHUB_ENV" echo "APP_SHORT_NAME=$APP_SHORT_NAME" >> "$GITHUB_ENV" echo "APP_VERSION=$VERSION" >> "$GITHUB_ENV" @@ -194,4 +196,4 @@ else fi mkdir dist -mv "${APP_SHORT_NAME// /_}"*.AppImage* dist/. +mv "$APP_NAME_NO_SPACES"*.AppImage* dist/. From 1993f8b9ba0a4ecd74d02086c9641ccd472b8575 Mon Sep 17 00:00:00 2001 From: uninstall-your-browser <170106706+uninstall-your-browser@users.noreply.github.com> Date: Sat, 31 Oct 2026 09:13:47 +1100 Subject: [PATCH 2/2] Use old version of appimagetool --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7e83a4c..bd6055a 100755 --- a/build.sh +++ b/build.sh @@ -181,7 +181,7 @@ fi echo "==> Build $APP_SHORT_NAME AppImage" # Fetch AppImageTool. -wget https://github.com/AppImage/Appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage +wget https://github.com/uninstall-your-browser/appimagetool-old/releases/download/continuous/appimagetool-x86_64.AppImage chmod +x *.AppImage APP_NAME_NO_SPACES=${APP_SHORT_NAME// /_}