shell-intune-samples icon indicating copy to clipboard operation
shell-intune-samples copied to clipboard

Dock sample script; Launchpad.app replaced by Apps.app on macOS 26

Open marceldekuiper opened this issue 3 months ago • 1 comments

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 ;-)

marceldekuiper avatar Sep 08 '25 13:09 marceldekuiper

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")

Julian0o avatar Oct 21 '25 12:10 Julian0o

was already fixed

CKunze-MSFT avatar Dec 22 '25 18:12 CKunze-MSFT