1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-07 11:38:28 +00:00

chore: auto format code

This commit is contained in:
Tw93
2026-01-14 06:10:25 +00:00
parent 62cfafd7da
commit d0faaa33c6

View File

@@ -191,7 +191,10 @@ remove_apps_from_dock() {
local url
url=$(/usr/libexec/PlistBuddy -c "Print :persistent-apps:$i:tile-data:file-data:_CFURLString" "$plist" 2> /dev/null || echo "")
[[ -z "$url" ]] && { ((i++)); continue; }
[[ -z "$url" ]] && {
((i++))
continue
}
# Match by full path only to avoid removing apps with the same label.
if [[ -n "$full_path" && "$url" == *"$full_path"* ]]; then