diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-01-11 17:29:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-11 17:29:40 +0000 |
| commit | 4349a6eef318843355d96c716b396b493fd15056 (patch) | |
| tree | 2d70a53c5d1ba7345417e39b68c591e3aee2c6a2 /cli/uninstall.sh | |
| parent | 188d3ccf9c017377953f6a1ec5e33ba6d38925d0 (diff) | |
| parent | abe465b26b73eab3b339fdaebeeedde604a8ce1b (diff) | |
| download | decky-installer-4349a6eef318843355d96c716b396b493fd15056.tar.gz decky-installer-4349a6eef318843355d96c716b396b493fd15056.zip | |
Merge branch 'SteamDeckHomebrew:main' into main
Diffstat (limited to 'cli/uninstall.sh')
| -rw-r--r-- | cli/uninstall.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cli/uninstall.sh b/cli/uninstall.sh new file mode 100644 index 0000000..e2c7f15 --- /dev/null +++ b/cli/uninstall.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +[ "$UID" -eq 0 ] || exec sudo "$0" "$@" + +echo "Uninstalling Steam Deck Plugin Loader..." + +USER_DIR="$(getent passwd $SUDO_USER | cut -d: -f6)" +HOMEBREW_FOLDER="${USER_DIR}/homebrew" + +# Disable and remove services +sudo systemctl disable --now plugin_loader.service > /dev/null +sudo rm -f "${USER_DIR}/.config/systemd/user/plugin_loader.service" +sudo rm -f "/etc/systemd/system/plugin_loader.service" + +# Remove temporary folder if it exists from the install process +rm -rf "/tmp/plugin_loader" + +# Cleanup services folder +sudo rm "${HOMEBREW_FOLDER}/services/PluginLoader" + +# disable CEF debugging +sudo rm "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" |
