From 9c54ef0d82ae92758f47cd607b4be54ca9355546 Mon Sep 17 00:00:00 2001 From: Vitalii Rybalko Date: Thu, 15 Jan 2026 13:20:00 +0200 Subject: [PATCH 1/2] Fix "Exec format error" for PrismLauncher AppImage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following error: ``` ⚠ PrismLauncher execution failed, using manual instance creation 💡 Error output: /tmp/minecraft-modules-7vl7wd/launcher_setup.sh: line 53: /home/deck/.local/share/PrismLauncher/PrismLauncher.AppImage: cannot execute binary file: Exec format error ``` The previous query "AppImage$" matched to rows: *aarch64.AppImage and *x86_64.AppImage, head -n1 selects aarch64 which is wrong architecture for steamdeck --- modules/launcher_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/launcher_setup.sh b/modules/launcher_setup.sh index 546b7f0..b2ce2f4 100644 --- a/modules/launcher_setup.sh +++ b/modules/launcher_setup.sh @@ -22,7 +22,7 @@ download_prism_launcher() { # We specifically look for AppImage files in the release assets local prism_url prism_url=$(curl -s https://api.github.com/repos/PrismLauncher/PrismLauncher/releases/latest | \ - jq -r '.assets[] | select(.name | test("AppImage$")) | .browser_download_url' | head -n1) + jq -r '.assets[] | select(.name | test("x86_64.*AppImage$")) | .browser_download_url' | head -n1) # Validate that we got a valid download URL if [[ -z "$prism_url" || "$prism_url" == "null" ]]; then From cac6bf23b3fb799ec818dbc1ec0cee456c3a75a9 Mon Sep 17 00:00:00 2001 From: Vitalii Rybalko Date: Thu, 15 Jan 2026 13:21:58 +0200 Subject: [PATCH 2/2] Fix typo in PolyMC setup folder name --- install-minecraft-splitscreen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-minecraft-splitscreen.sh b/install-minecraft-splitscreen.sh index 66f84be..d189925 100755 --- a/install-minecraft-splitscreen.sh +++ b/install-minecraft-splitscreen.sh @@ -190,7 +190,7 @@ source "$MODULES_DIR/main_workflow.sh" # Script configuration paths readonly TARGET_DIR="$HOME/.local/share/PrismLauncher" -readonly POLLYMC_DIR="$HOME/.local/share/PollyMC" +readonly POLLYMC_DIR="$HOME/.local/share/PolyMC" # Runtime variables (set during execution) JAVA_PATH=""