From 257c63954128c423be5280b33ba95071df1a5caa Mon Sep 17 00:00:00 2001 From: Andrei Murariu <83287213+iamxorum@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:08:54 +0200 Subject: [PATCH] bug-fix: add hardcoded directories for raycast removal (#414) * bug-fix: uninstall raycast leftovers * bug-fix: add hardcoded directories for raycast removal --------- Co-authored-by: tw93 --- lib/core/app_protection.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/core/app_protection.sh b/lib/core/app_protection.sh index 90fa7dd..cc54844 100755 --- a/lib/core/app_protection.sh +++ b/lib/core/app_protection.sh @@ -1112,6 +1112,10 @@ find_app_files() { done < <(command find "$dir" -maxdepth 1 -type d -iname "*raycast*" -print0 2> /dev/null) done + # Explicit Raycast container directories (hardcoded leftovers) + [[ -d "$HOME/Library/Containers/com.raycast.macos.BrowserExtension" ]] && files_to_clean+=("$HOME/Library/Containers/com.raycast.macos.BrowserExtension") + [[ -d "$HOME/Library/Containers/com.raycast.macos.RaycastAppIntents" ]] && files_to_clean+=("$HOME/Library/Containers/com.raycast.macos.RaycastAppIntents") + # Cache (deeper search) [[ -d "$HOME/Library/Caches" ]] && while IFS= read -r -d '' p; do files_to_clean+=("$p")