autopkg / dataJAR-recipes

Elegant and powerful Apple services for business and education.
https://www.datajar.co.uk
Apache License 2.0
113 stars 80 forks source link

Added blocking_applications array #338

Closed opus-nbonenberger closed 3 months ago

opus-nbonenberger commented 3 months ago

The installation of the package fails if the app with the old name is currently running. I have added a blocking_applications array to ask the user to quit the app before updating.

paul-cossey commented 3 months ago

Thanks, @opus-nbonenberger

I added that in our override, but missed on this one.

gregneagle commented 3 months ago

Doesn't it need both the old name and the current name? For the next Teams update, you might have clients with either name installed and running, and either should block the install.

paul-cossey commented 3 months ago

Thanks, @gregneagle yes it does. Added https://github.com/autopkg/dataJAR-recipes/compare/99b3e05371e3...fe6ee78c8659

It should probably also have Microsoft Teams (work preview) in there too, but I'll leave that for folks to add to their overrides as necessary