-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Optional Key: Pre-warm .apps on macOS Sonoma #1180
Comments
I’d need to understand this more. Does it have to be run in a user context? Does it potentially take a long time to run? Have you done a proof-of-concept with postinstall_scripts? |
Good questions, I have zero answers for you. I saw it in the beta 2 developer notes just now and thought it was really cool. |
Perhaps @nmcspadden will have answers as he said he would try it out. |
I was able to do some testing with this new binary. As @gregneagle suggested, it can be leveraged in a postinstall_script without any modifications to Munki code. To answer Greg's questions :
If others are reading this and interested in testing it for themselves, here is a sample postinstall_script :
|
I verified that this also works with no user logged in (munki installing at the login window) |
The fact that it takes time to run (and I assume the tool doesn't return until it's finished) would lead to some tradeoffs here. if a user is interacting with Managed Software Center and it's installing multiple things, the user now has to wait for these scans to complete before MSC finishes. If it's scanning an app the user doesn't really care about right now, like, say Xcode, but that user really wants the new Zoom to install, now the user is annoyed. I think some thought and discussion will need to happen before any modifications to Munki can be made. |
Apple now has a tool we can use to pre-warm applications and reduce this popup on launches. This might be a desirable feature for admins to have this as an automated post-install action for any .apps.
For other .pkg based installations, it would be up to the admin to write a custom script or this could be an array of .app paths
This second option could be added to autopkg munki recipes and is my preferred method.
The text was updated successfully, but these errors were encountered: