diff options
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | dist/uninstall.sh | 17 |
2 files changed, 22 insertions, 0 deletions
@@ -18,6 +18,11 @@ ### Install Plugins - Simply copy the plugin's folder into `~/homebrew/plugins` +### Uninstall +- Open a terminal and paste the following command into it: + - For both users and developers: + - `curl -L https://github.com/SteamDeckHomebrew/PluginLoader/raw/main/dist/uninstall.sh | sh` + ### Developing plugins - There is no complete plugin development documentation yet. However a good starting point is the [Plugin Template](https://github.com/SteamDeckHomebrew/Plugin-Template) repository diff --git a/dist/uninstall.sh b/dist/uninstall.sh new file mode 100644 index 00000000..a98ba0de --- /dev/null +++ b/dist/uninstall.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +echo "Uninstalling Steam Deck Plugin Loader..." + +HOMEBREW_FOLDER=/home/deck/homebrew + +# Disable and remove services +sudo systemctl disable --now plugin_loader.service > /dev/null +sudo rm -f /home/deck/.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 + |
