Skip to content

Commit

Permalink
feat: added uninstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed May 27, 2023
1 parent 00b4d61 commit 0cdff3d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build-resources/linux-uinstaller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,21 @@ if zenity --question --title="Warning!" --text="You are about to uninstall SARM
rm -rf "$HOME/.sarm"

# Remove Desktop icons
rm -rf "$HOME"/Desktop/SARM.desktop
rm -rf "$HOME"/Desktop/UninstallSARM.desktop
rm -rf "$HOME/Desktop/SARM.desktop"
rm -rf "$HOME/Desktop/UninstallSARM.desktop"

# Remove Start Menu shortcuts
rm -rf "$HOME"/.local/share/applications/SARM.desktop
rm -rf "$HOME"/.local/share/applications/UninstallSARM.desktop
rm -rf "$HOME/.local/share/applications/SARM.desktop"
rm -rf "$HOME/.local/share/applications/UninstallSARM.desktop"

# Remove cache directory
rm -rf "$HOME/.cache/dev.tormak.steam-art-manager"

# Remove config directory
rm -rf "$HOME/.config/dev.tormak.steam-art-manager"

# Remove Tauri Files
rm -rf "$HOME/.local/share/dev.tormak.steam-art-manager"

update-desktop-database $HOME/.local/share/applications

Expand Down

0 comments on commit 0cdff3d

Please sign in to comment.