diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/fgmod-remover.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/assets/fgmod-remover.sh b/assets/fgmod-remover.sh new file mode 100644 index 0000000..32d4f71 --- /dev/null +++ b/assets/fgmod-remover.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Remove /home/deck/fgmod directory if it exists +if [[ -d "/home/deck/fgmod" ]]; then + rm -rf "/home/deck/fgmod" +fi + +# Remove specific files from ~/Downloads if they exist +downloads_dir="$HOME/Downloads" +files_to_remove=("prepare.sh" "fgmod.sh" "fgmod-uninstaller.sh") + +for file in "${files_to_remove[@]}"; do + if [[ -f "$downloads_dir/$file" ]]; then + rm "$downloads_dir/$file" + fi +done + +echo "FGmod removed"
\ No newline at end of file |
