03-24-2022 12:02 PM - edited 03-24-2022 12:22 PM
Is it possible to deploy a dock item for something in the User applications folder aka ~/Applications? Inserting the ~ or using $USERNAME in the path results in a broken dock item.
Posted on 03-24-2022 12:40 PM
@alex_at_work I don't think you can deploy a Dock item via Jamf Pro to an app in ~/Applications, but dockutil might although I've never tried.
I would ask however if you really need to be installing applications in that folder? Over the years I've run into apps that wouldn't update themselves unless located in the global /Applications folder, so my recommendation would be to not install apps in the user specific folder.
Posted on 03-28-2022 05:46 AM
@sdagley Yeah it's really just one app. Installing Slack there so non-admin users can manage the automatic updates. We had previously deployed it through self service from the app store with "keep apps up to date" box checked, however there is an apparent product issue when deploying apps from the app store and deploying a config profile with the "require an admin password to install or update apps" payload configured.
Posted on 03-28-2022 07:17 AM
@alex_at_work I'd think your best bet is to use dockutil to write the path file:///Users/UserName/Applications/Slack.app/ into /Users/UserName/Library/Preferences/com.apple.dock.plist