Use host arch

This commit is contained in:
2025-04-15 21:12:04 -04:00
부모 5a226d9d6d
커밋 2f99036efb

파일 보기

@@ -1194,8 +1194,9 @@ install_mc_appimage() {
execute cp "$app_dir/$icon_rel" "$app_dir/usr/share/icons/hicolor/256x256/apps/mediacenter.png"
# Get appimagetool
local arch; arch=$(uname -m) # TODO use host arch
if ! command -v appimagetool &>/dev/null && [[ ! -x "$tool" ]]; then
download "https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-${ARCH}.AppImage" "$tool"
download "https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-${arch}.AppImage" "$tool"
execute chmod +x "$tool"
fi