From 4669b2818b35e47456bc5df628e8c9e5dd5bbe2b Mon Sep 17 00:00:00 2001 From: Gabriel Jones Date: Tue, 30 May 2023 20:15:35 -0400 Subject: Update user_install_script.sh Fix missing "latest" verbiage, fixing updates. --- gui/user_install_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index 5441984..316ad20 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -121,10 +121,10 @@ fi # otherwise install decky loader -if [[ "$OPTION" == "release" || "$OPTION" == "update to release" ]]; then +if [[ "$OPTION" == "release" || "$OPTION" == "update to latest release" ]]; then BRANCH="release" fi -if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to prerelease" ]]; then +if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to latest prerelease" ]]; then BRANCH="prerelease" fi -- cgit v1.2.3 From 023d61eb23e32dd5ef89f7a7cd4abd95afc9f139 Mon Sep 17 00:00:00 2001 From: Gabriel Jones Date: Tue, 30 May 2023 21:09:10 -0400 Subject: Update user_install_script.sh testing regex --- gui/user_install_script.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index 316ad20..b155a00 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 latest release" ]]; then - BRANCH="release" -fi -if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to latest prerelease" ]]; then +if [[ "$OPTION" ~= "pre" ]]; then BRANCH="prerelease" +else + BRANCH="release" fi ( -- cgit v1.2.3 From 10c77c670a9250a3287c3055aa7fc1771d166ce0 Mon Sep 17 00:00:00 2001 From: Gabriel Jones Date: Tue, 30 May 2023 21:12:56 -0400 Subject: Update user_install_script.sh oops --- gui/user_install_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index b155a00..6a38379 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -119,7 +119,7 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader" exit 1 fi -if [[ "$OPTION" ~= "pre" ]]; then +if [[ "$OPTION" =~ "pre" ]]; then BRANCH="prerelease" else BRANCH="release" -- cgit v1.2.3 From ea515cde5df35f7076cf8ec5eb22422ce73c9902 Mon Sep 17 00:00:00 2001 From: Gabriel Jones Date: Tue, 30 May 2023 21:23:54 -0400 Subject: Update decky_installer.desktop Remove install script. Curl doesn't overwrite. --- gui/decky_installer.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3