From 6c7376cc1bc54c2bf12b4ff804ed1898028f784e Mon Sep 17 00:00:00 2001 From: Mark-cachy Date: Wed, 11 Nov 2026 18:03:49 +0100 Subject: [PATCH] Fix download URL di appimagetool in release.yaml --- .gitea/workflows/release.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 739316e..54f8b37 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -91,14 +91,15 @@ jobs: - name: Scarica appimagetool se non presente run: | - if [ ! -f ./appimagetool-x86_64.AppImage ]; then - curl -L -o appimagetool-x86_64.AppImage https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage - chmod +x appimagetool-x86_64.AppImage + if [ ! -x /tmp/appimagetool-x86_64.AppImage ] || ! head -c 4 /tmp/appimagetool-x86_64.AppImage | grep -q "ELF"; then + rm -f /tmp/appimagetool-x86_64.AppImage + curl -fSL -o /tmp/appimagetool-x86_64.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage + chmod +x /tmp/appimagetool-x86_64.AppImage fi - name: Genera AppImage run: | - ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 ./appimagetool-x86_64.AppImage server/dist/BarcodeServer.AppDir BarcodeServer-x86_64.AppImage + ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 /tmp/appimagetool-x86_64.AppImage server/dist/BarcodeServer.AppDir BarcodeServer-x86_64.AppImage chmod +x BarcodeServer-x86_64.AppImage APPIMAGE_EXTRACT_AND_RUN=1 ./BarcodeServer-x86_64.AppImage --version