DockBuilder icon indicating copy to clipboard operation
DockBuilder copied to clipboard

Add a Loop for Mojave and Catalina

Open ZJPat opened this issue 5 years ago • 1 comments

Hello Since Catalina moved System Preferences to /system, can you please add a loop to check if its 10.14 or below to add System Preferences from Applications otherwise add it from /system/Applications.

Thanks

ZJPat avatar Feb 07 '20 19:02 ZJPat

I think it would be simpler to add logic to dockbuilder.sh at around lines 38 and 38 to check for the existence of $item before adding the dock item. It would enable us to have lists both the Catalina paths and the pre-Catalina paths; dockbuilder would only try to add the "correct" paths and skip items that do not exist.

if [ -e "$item" ]; then /usr/local/bin/dockutil --add "$item" ... fi

jfiliceatcsumb avatar May 02 '20 19:05 jfiliceatcsumb