shell-intune-samples
shell-intune-samples copied to clipboard
Dock sample script; Launchpad.app replaced by Apps.app on macOS 26
Just a heads up, on macOS 26 (Tahoe) the /System/Applications/Launchpad.app is 'replaced' by the /System/Applications/Apps.app.
Just ran into this while testing the sample Dock script with the 'Wait' option ;-)
I just updated the Script like this to get the richt launcher app. Should be Updated in the script @theneiljohnson to keep compatibility.
# Determine the correct settings app
if [[ -e "/System/Applications/System Settings.app" ]]; then
settingsApp="System Settings.app"
else
settingsApp="System Preferences.app"
fi
# Determine the correct launcher app
if [[ -e "/System/Applications/Apps.app" ]]; then
launcherApp="Apps.app"
else
launcherApp="Launchpad.app"
fi
dockapps=( "/System/Applications/$launcherApp"
"/Applications/OneDrive.app"
"/Applications/Microsoft Edge.app"
"/Applications/Microsoft Outlook.app"
"/Applications/Microsoft Word.app"
"/Applications/Microsoft Excel.app"
"/Applications/Microsoft PowerPoint.app"
"/Applications/Microsoft Teams.app"
"/Applications/Company Portal.app"
"/System/Applications/$settingsApp")
was already fixed