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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user