diff options
Diffstat (limited to 'dist/install_prerelease.sh')
| -rw-r--r-- | dist/install_prerelease.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/install_prerelease.sh b/dist/install_prerelease.sh index 19a8ab04..d38f0d5b 100644 --- a/dist/install_prerelease.sh +++ b/dist/install_prerelease.sh @@ -15,7 +15,8 @@ touch "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" # Download latest release and install it RELEASE=$(curl -s 'https://api.github.com/repos/SteamDeckHomebrew/decky-loader/releases' | jq -r "first(.[] | select(.prerelease == "true"))") -read VERSION DOWNLOADURL < <(echo $(jq -r '.tag_name, .assets[].browser_download_url' <<< ${RELEASE})) +VERSION=$(jq -r '.tag_name' <<< ${RELEASE} ) +DOWNLOADURL=$(jq -r '.assets[].browser_download_url | select(endswith("PluginLoader"))' <<< ${RELEASE}) printf "Installing version %s...\n" "${VERSION}" curl -L $DOWNLOADURL --output ${HOMEBREW_FOLDER}/services/PluginLoader |
