Skip to content

Commit 6dd65ab

Browse files
committed
chore: add error handling for appimagetool download
1 parent 0edbf15 commit 6dd65ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/build-utils/buildAppImage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ APPIMAGETOOL="./.cache/build-tools/appimagetool"
33
RELEASE_CHANNEL=${RELEASE_CHANNEL:-"stable"}
44

55
mkdir -p ./.cache/build-tools
6-
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O "${APPIMAGETOOL}"
6+
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O "${APPIMAGETOOL}" || { echo "Failed to download appimagetool."; exit 1; }
77
chmod +x "${APPIMAGETOOL}"
88

99
if [ "${RELEASE_CHANNEL}" != "stable" ]; then

0 commit comments

Comments
 (0)