blob: 1d12a18810b76236690e53a4e6bd335180e610ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env bash
# Remove ~/fgmod directory if it exists
if [[ -d "$HOME/fgmod" ]]; then
rm -rf "$HOME/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"
|