summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2023-05-29 17:09:33 +0100
committerGitHub <noreply@github.com>2023-05-29 17:09:33 +0100
commit996722ca7d3df70691dc6f6464a8e51d71715cf4 (patch)
treea7a6bb709b16cf273675d902263124e92b998396
parentde04fec0efc03e10c4cab028e16410f001e1da46 (diff)
downloaddecky-installer-996722ca7d3df70691dc6f6464a8e51d71715cf4.tar.gz
decky-installer-996722ca7d3df70691dc6f6464a8e51d71715cf4.zip
deleting folders requires rm -rv1.6.1
-rw-r--r--gui/user_install_script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh
index 1fa5c52..5441984 100644
--- a/gui/user_install_script.sh
+++ b/gui/user_install_script.sh
@@ -70,7 +70,7 @@ HOMEBREW_FOLDER="${USER_DIR}/homebrew"
# if decky is already installed, then also add an 'uninstall' prompt
if [[ -f "${USER_DIR}/homebrew/services/PluginLoader" ]] ; then
- OPTION=$(zen_nospam --title="Decky Installer" --width=400 --height=200 --list --radiolist --text "Select Option:" --hide-header --column "Buttons" --column "Choice" --column "Info" \
+ OPTION=$(zen_nospam --title="Decky Installer" --width=420 --height=200 --list --radiolist --text "Select Option:" --hide-header --column "Buttons" --column "Choice" --column "Info" \
TRUE "update to latest release" "Recommended option" \
FALSE "update to latest prerelease" "May be unstable" \
FALSE "uninstall decky loader" "Will keep config intact" \
@@ -99,7 +99,7 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader"
if [ "$OPTION" == "wipe decky loader" ]; then
echo "60" ; echo "# Deleting homebrew folder" ;
- sudo rm "${HOMEBREW_FOLDER}"
+ sudo rm -r "${HOMEBREW_FOLDER}"
else
echo "60" ; echo "# Cleaning services folder" ;
sudo rm "${HOMEBREW_FOLDER}/services/PluginLoader"