mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-12 08:33:34 +03:00
Uninstall script addition (#48)
* Create uninstall.sh * Update uninstall.sh First pass for a version that looks similar to the install scripts * Update readme with uninstall info Add uninstall script info to readme * Update dist/uninstall.sh Only remove services for now Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com> * Adjust echo to accurately reflect script actions No longer deletes installed plugins, adjusted echo to match actions. Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,11 @@
|
|||||||
### Install Plugins
|
### Install Plugins
|
||||||
- Simply copy the plugin's folder into `~/homebrew/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
|
### 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
|
- There is no complete plugin development documentation yet. However a good starting point is the [Plugin Template](https://github.com/SteamDeckHomebrew/Plugin-Template) repository
|
||||||
|
|
||||||
|
|||||||
17
dist/uninstall.sh
vendored
Normal file
17
dist/uninstall.sh
vendored
Normal file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user