diff --git a/src-tauri/build-utils/buildAppImage.sh b/src-tauri/build-utils/buildAppImage.sh index 10b92121c..dea03c0b9 100755 --- a/src-tauri/build-utils/buildAppImage.sh +++ b/src-tauri/build-utils/buildAppImage.sh @@ -2,12 +2,9 @@ APPIMAGETOOL="./.cache/build-tools/appimagetool" RELEASE_CHANNEL=${RELEASE_CHANNEL:-"stable"} -# pull in AppImageTool if it's not pre cached mkdir -p ./.cache/build-tools -if [ ! -f "${APPIMAGETOOL}" ]; then - wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O "${APPIMAGETOOL}" - chmod +x "${APPIMAGETOOL}" -fi +wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O "${APPIMAGETOOL}" || { echo "Failed to download appimagetool."; exit 1; } +chmod +x "${APPIMAGETOOL}" if [ "${RELEASE_CHANNEL}" != "stable" ]; then APP_DIR=./src-tauri/target/release/bundle/appimage/Jan-${RELEASE_CHANNEL}.AppDir