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="" 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