diff options
| -rw-r--r-- | gui/decky_installer.desktop | 2 | ||||
| -rw-r--r-- | gui/user_install_script.sh | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/gui/decky_installer.desktop b/gui/decky_installer.desktop index 2f48547..3fa80ef 100644 --- a/gui/decky_installer.desktop +++ b/gui/decky_installer.desktop @@ -1,7 +1,7 @@ #!/usr/bin/env xdg-open [Desktop Entry] Name=Install Decky -Exec=sh -c 'if curl -S -s -L -O --output-dir /tmp/ --connect-timeout 60 https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/user_install_script.sh; then bash /tmp/user_install_script.sh; else echo "Something went wrong, please report this if it is a bug"; read; fi' +Exec=sh -c 'rm /tmp/user_install_script.sh; if curl -S -s -L -O --output-dir /tmp/ --connect-timeout 60 https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/user_install_script.sh; then bash /tmp/user_install_script.sh; else echo "Something went wrong, please report this if it is a bug"; read; fi' Icon=steamdeck-gaming-return Terminal=true Type=Application diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index 5441984..6a38379 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -119,13 +119,10 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader" exit 1 fi -# otherwise install decky loader - -if [[ "$OPTION" == "release" || "$OPTION" == "update to release" ]]; then - BRANCH="release" -fi -if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to prerelease" ]]; then +if [[ "$OPTION" =~ "pre" ]]; then BRANCH="prerelease" +else + BRANCH="release" fi ( |
