summaryrefslogtreecommitdiff
path: root/dist/uninstall.sh
blob: a98ba0de7424f9282102c874dfad59f7e1364acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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