diff options
Diffstat (limited to 'dist/user_install_script.sh')
| -rw-r--r-- | dist/user_install_script.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/user_install_script.sh b/dist/user_install_script.sh index 34dadd40..21f0f2f4 100644 --- a/dist/user_install_script.sh +++ b/dist/user_install_script.sh @@ -98,7 +98,8 @@ if [ $BRANCH = 'prerelease' ] ; then else RELEASE=$(curl -s 'https://api.github.com/repos/SteamDeckHomebrew/decky-loader/releases' | jq -r "first(.[] | select(.prerelease == "false"))") fi -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}) echo "45" ; echo "# Installing version $VERSION" ; curl -L $DOWNLOADURL -o ${HOMEBREW_FOLDER}/services/PluginLoader 2>&1 | stdbuf -oL tr '\r' '\n' | sed -u 's/^ *\([0-9][0-9]*\).*\( [0-9].*$\)/\1\n#Download Speed\:\2/' | zenity --progress --title "Downloading Decky" --text="Download Speed: 0" --width=300 --height=100 --auto-close --no-cancel 2>/dev/null |
