grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
834 stars 131 forks source link

Check for Zoom Meetings, --check-activity #483

Closed amadotejada closed 7 months ago

amadotejada commented 7 months ago

If active Zoom meetings are detected, the script will exit. No user dialogs are shown. This handles scenarios when we run the script remotely via MDM tools in alternative to the Self-Service method, I think it's ideal to only display dialog prompts to users when they are not in Zoom meetings, Apple Silicon, password prompt, etc. Other video conference solutions could also be added.

grahampugh commented 7 months ago

Hi, thanks for the PR, it's an interesting idea. A couple of points:

amadotejada commented 7 months ago

Hello @grahampugh,

Thanks for your points. I've done the following.

grahampugh commented 7 months ago

Thanks, there's one error but I'll merge it in and make the change myself.