mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 14:26:46 +00:00
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 <tw93@qq.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user