Hi there,
I'm trying to chain two steps to setup new computers :
1/ Install Chrome and Slack, which have their packages auto generated, updated and cached thanks to autopkg
2/ Once both are installed, run a script to set the dock in a clear state with dockutil
I already have the different policies (one for each package, one for the script) running separately, but what I want to achieve is running the dock policy right after the apps are installed. If the dock resets before installing the apps, it results in "?" appearing instead of the app icon, and it doesn't launch anything when clicking on it.
I thought about using custom events, but, if I'm not mistaken, I can't configure a policy to trigger an event, only a script or a package. But the app packages for Chrome and Slack are auto generated, with the policy all together, so I can't configure these to trigger custom events.
I don't see a way of triggering the policies in the proper order.
Any ideas ?
Thanks !
