diff options
| author | TrainDoctor <11465594+TrainDoctor@users.noreply.github.com> | 2023-05-30 18:46:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 18:46:17 -0700 |
| commit | e5b428711a18a2f38f853e917c20d15ca2635b36 (patch) | |
| tree | c8e02d669dfb4e3a88b44782e41ad5fd3c5eb858 /gui/user_install_script.sh | |
| parent | 996722ca7d3df70691dc6f6464a8e51d71715cf4 (diff) | |
| parent | ea515cde5df35f7076cf8ec5eb22422ce73c9902 (diff) | |
| download | decky-installer-26c2e0e18b95936191e1fed0ee8f016ff09583ce.tar.gz decky-installer-26c2e0e18b95936191e1fed0ee8f016ff09583ce.zip | |
Merge pull request #11 from ggppjj/ggppjj-patch-1-regexv1.6.2
Ggppjj patch 1 regex
Diffstat (limited to 'gui/user_install_script.sh')
| -rw-r--r-- | gui/user_install_script.sh | 9 |
1 files changed, 3 insertions, 6 deletions
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 ( |
