Created
February 22, 2026 00:19
-
-
Save lancejpollard/bddc2a5f54ca76e8835bc3b3b5d6d6d7 to your computer and use it in GitHub Desktop.
Uninstall Neural DSP Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| if [ -z "$1" ]; then | |
| echo "Usage:" | |
| echo " $0 all" | |
| echo " $0 \"Plugin Name\"" | |
| exit 1 | |
| fi | |
| TARGET_PLUGIN="$1" | |
| OS="$(uname -s)" | |
| echo "==========================================" | |
| echo " Neural DSP Uninstall Script" | |
| echo " Target: $TARGET_PLUGIN" | |
| echo "==========================================" | |
| remove_matches() { | |
| BASE_PATH="$1" | |
| PATTERN="$2" | |
| if [ -d "$BASE_PATH" ]; then | |
| shopt -s nullglob 2>/dev/null || true | |
| MATCHES=($BASE_PATH/$PATTERN) | |
| if [ ${#MATCHES[@]} -eq 0 ]; then | |
| echo "No matches in $BASE_PATH" | |
| else | |
| for FILE in "${MATCHES[@]}"; do | |
| echo "Removing: $FILE" | |
| rm -rf "$FILE" | |
| done | |
| fi | |
| else | |
| echo "Path not found: $BASE_PATH" | |
| fi | |
| } | |
| if [[ "$OS" == "Darwin" ]]; then | |
| echo "Detected macOS" | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| PATTERN="Neural DSP*" | |
| else | |
| PATTERN="Neural DSP*${TARGET_PLUGIN// /}*" | |
| fi | |
| # System plugin formats | |
| remove_matches "/Library/Audio/Plug-Ins/Components" "$PATTERN" | |
| remove_matches "/Library/Audio/Plug-Ins/VST" "$PATTERN" | |
| remove_matches "/Library/Audio/Plug-Ins/VST3" "$PATTERN" | |
| remove_matches "/Library/Application Support/Avid/Audio/Plug-Ins" "$PATTERN" | |
| # Standalone | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| remove_matches "/Applications" "Neural DSP" | |
| else | |
| remove_matches "/Applications" "*${TARGET_PLUGIN}*" | |
| fi | |
| # Presets | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| remove_matches "/Library/Audio/Presets" "Neural DSP" | |
| else | |
| remove_matches "/Library/Audio/Presets/Neural DSP" "*${TARGET_PLUGIN}*" | |
| fi | |
| # Settings + Manual | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| remove_matches "/Library/Application Support" "Neural DSP" | |
| remove_matches "$HOME/Library/Application Support" "Neural DSP" | |
| fi | |
| elif [[ "$OS" == *"MINGW"* || "$OS" == *"MSYS"* || "$OS" == "Linux" ]]; then | |
| echo "Detected Windows (Git Bash / MSYS / WSL)" | |
| PROGRAM_FILES="/c/Program Files" | |
| COMMON_FILES="/c/Program Files/Common Files" | |
| PROGRAM_DATA="/c/ProgramData" | |
| APPDATA="/c/Users/$USERNAME/AppData/Roaming" | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| PATTERN="Neural DSP*" | |
| else | |
| PATTERN="Neural DSP*${TARGET_PLUGIN// /}*" | |
| fi | |
| remove_matches "$PROGRAM_FILES/VSTPlugins" "$PATTERN" | |
| remove_matches "$COMMON_FILES/VST3" "$PATTERN" | |
| remove_matches "$COMMON_FILES/Avid/Audio/Plug-Ins" "$PATTERN" | |
| if [[ "$TARGET_PLUGIN" == "all" ]]; then | |
| remove_matches "$PROGRAM_FILES" "Neural DSP" | |
| remove_matches "$PROGRAM_DATA" "Neural DSP" | |
| remove_matches "$APPDATA" "Neural DSP" | |
| else | |
| remove_matches "$PROGRAM_FILES/Neural DSP" "*${TARGET_PLUGIN}*" | |
| remove_matches "$PROGRAM_DATA/Neural DSP" "*${TARGET_PLUGIN}*" | |
| remove_matches "$APPDATA/Neural DSP" "*${TARGET_PLUGIN}*" | |
| fi | |
| else | |
| echo "Unsupported OS: $OS" | |
| exit 1 | |
| fi | |
| echo "==========================================" | |
| echo " Done." | |
| echo " Rescan plugins in Logic / Pro Tools / etc." | |
| echo "==========================================" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment