diff options
| author | Grimbakor <davidstur@gmail.com> | 2025-01-30 17:11:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-30 12:11:32 -0500 |
| commit | 00d16976e6ff5257066c24fe819d479f324db215 (patch) | |
| tree | c5587c9c9e52f90fef22d050543162111bbacb14 /defaults/assets/fgmod-remover.sh | |
| parent | 13de57fb692ac9f15646ece6d25a33fe936beb4f (diff) | |
| download | Decky-Framegen-00d16976e6ff5257066c24fe819d479f324db215.tar.gz Decky-Framegen-00d16976e6ff5257066c24fe819d479f324db215.zip | |
* Move assets/ to defaults/assets so .vscode/build.sh and decky-cli packages correctly (#28)v0.5.0-Bundled
* Changed all paths to use environment variables from decky as base paths
* Remove alwaysRender from front-end so setInterval does not run in the
background during a game session
Diffstat (limited to 'defaults/assets/fgmod-remover.sh')
| -rw-r--r-- | defaults/assets/fgmod-remover.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/defaults/assets/fgmod-remover.sh b/defaults/assets/fgmod-remover.sh new file mode 100644 index 0000000..1d12a18 --- /dev/null +++ b/defaults/assets/fgmod-remover.sh @@ -0,0 +1,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"
\ No newline at end of file |
