Skip to content

Commit

Permalink
Loops through and delete all files with autosub in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
4Fortune8 committed Dec 11, 2024
1 parent f11ead5 commit efbf224
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
Binary file added BrowserExtentions/ChromeExtention.crx
Binary file not shown.
20 changes: 8 additions & 12 deletions other-scripts/uninstaller
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
#!/bin/bash

# Define the installation directory


# Paths to remove
AUTOSUBS_DIR="${APPDATA}/Blackmagic Design/DaVinci Resolve/Support/Fusion/"
LUA_SCRIPT="${APPDATA}/Blackmagic Design/DaVinci Resolve/Support/Fusion/Scripts/Utility/AutoSubs V2.lua"
echo "Uninstalling AutoSubs..."
files="${APPDATA}/Blackmagic Design/DaVinci Resolve/Support/Fusion/Scripts/Utility/"

# Remove the AutoSubs directory
if [ -d "$AUTOSUBS_DIR" ]; then
rm -rf "$AUTOSUBS_DIR"
echo "Removed directory: $AUTOSUBS_DIR"
else
echo "Directory not found: $AUTOSUBS_DIR"
fi
# Loop through each file in the directory
for item in "${files}"*; do
if [[ "$item" == *AutoSub* ]]; then
rm -rf "$item"
echo "Removed: $item"
fi
done

echo "Uninstallation complete."
exit 0

0 comments on commit efbf224

Please sign in to comment.