summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-23 00:08:36 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-23 00:08:36 -0500
commit23b4d45c34bdf2211cb74ac19b36d8086eccbb89 (patch)
tree610a33a1693048c828d1bcbe1bd9283c8d85e3a5 /assets
parent52cbb5022f0d6b8b27d7537316630c02982a6bf9 (diff)
downloadDecky-Framegen-23b4d45c34bdf2211cb74ac19b36d8086eccbb89.tar.gz
Decky-Framegen-23b4d45c34bdf2211cb74ac19b36d8086eccbb89.zip
add uninstaller button and script
Diffstat (limited to 'assets')
-rw-r--r--assets/fgmod-remover.sh18
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