diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-01-08 21:16:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-08 13:16:44 -0800 |
| commit | e92b66068aaa3f43e65e187e09f0982c798e960a (patch) | |
| tree | ae7a68b225495db35ce6b20927f4a79beab56ded /dist/install_release.sh | |
| parent | b72b32761058767d143e9ff08dc238c5ac9b777c (diff) | |
| download | decky-loader-e92b66068aaa3f43e65e187e09f0982c798e960a.tar.gz decky-loader-e92b66068aaa3f43e65e187e09f0982c798e960a.zip | |
Use the new installer in the readme instructions (#324)
Diffstat (limited to 'dist/install_release.sh')
| -rw-r--r-- | dist/install_release.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/install_release.sh b/dist/install_release.sh index 36bc3247..57150f2f 100644 --- a/dist/install_release.sh +++ b/dist/install_release.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 == "false"))") -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 |
