From 2f99036efbf0a3f02fa4a4585a311d48a506c004 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 15 Apr 2025 21:12:04 -0400 Subject: [PATCH] Use host arch --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index ad6ed55..90d10cf 100755 --- a/installJRMC +++ b/installJRMC @@ -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