Skip to content

Commit

Permalink
Allow AppImage generation in aarch64 build hosts (#4410)
Browse files Browse the repository at this point in the history
Get arch from build host

It was harcoded to x86_64 and was failing to generate AppImage files on aarch64 build hosts
  • Loading branch information
rodriguezst authored Mar 13, 2024
1 parent 0e78891 commit db2f50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/unix/build_appimage.sh.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
APPIMAGETOOLURL="https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-x86_64.AppImage"
APPIMAGETOOLURL="https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-$(uname -m).AppImage"


APP_IMAGE="@SLIC3R_APP_KEY@_Linux_V@SoftFever_VERSION@.AppImage"
Expand Down Expand Up @@ -35,5 +35,5 @@ else
../appimagetool.AppImage . $([ ! -z "${container}" ] && echo '--appimage-extract-and-run')
fi

mv @SLIC3R_APP_KEY@-x86_64.AppImage ${APP_IMAGE}
mv @SLIC3R_APP_KEY@-$(uname -m).AppImage ${APP_IMAGE}
chmod +x ${APP_IMAGE}

0 comments on commit db2f50b

Please sign in to comment.