Skip to content

Commit 7ea1201

Browse files
authored
Update dockv5.sh (#217)
Launchpad.app is now Apps.app in macOS Tahoe. This change has been updated in script
1 parent 532203b commit 7ea1201

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

macOS/Config/Dock/dockv5.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ else
4949
settingsApp="System Preferences.app"
5050
fi
5151

52-
dockapps=( "/System/Applications/Launchpad.app"
52+
# Determine the LaunchPad app
53+
if [[ -e "/System/Applications/Apps.app" ]]; then
54+
LaunchPadApp="Apps.app"
55+
else
56+
LaunchPadApp="Launchpad.app"
57+
fi
58+
59+
dockapps=( "/System/Applications/$LaunchPadApp"
5360
"/Applications/Microsoft Edge.app"
5461
"/Applications/Microsoft Outlook.app"
5562
"/Applications/Microsoft Word.app"
@@ -235,4 +242,4 @@ if [[ "$useDockUtil" == true ]]; then
235242
else
236243
echo "$(date) | Configuring dock with plist"
237244
configure_dock_via_plist
238-
fi
245+
fi

0 commit comments

Comments
 (0)