jamf / DEPNotify-Starter

Bash script to start DEPNotify and run policies during enrollment with Jamf Pro
https://gitlab.com/Mactroll/DEPNotify
MIT License
364 stars 86 forks source link

Continuing issues with the Registration Window #14

Closed waisanen closed 5 years ago

waisanen commented 5 years ago

I'm still having issues with the Registration window appearing (incorrectly) a second time at the end of the DEPNotify workflow, preventing the app from quitting properly.

I'm using 1.2.0 of the depNotify script along with the updated version (1.1.2) of DEPNotify that was posted a few weeks ago in the MacAdmins Slack instance.

I thought perhaps some of the minor modifications I made to depNotify.sh might have been responsible but even copying the script exactly with zero mods still results in the Registration window coming up twice.

Here's the script parameters I'm using in my policy: image

The test client is a freshly restored 2018 MacBook Pro running 10.14.1, managed by Jamf Pro 10.8.0. I'm currently baffled what might be triggering this bug for me but not other people.

kbareis commented 5 years ago

Hey @waisanen! Please try setting COMPLETE_METHOD_DROPDOWN_ALERT to false. I think you have it called Comp Method or Main Screen in the parameters above. The fix that was put into 1.1.2 of DEPNotify fixed the main window buttons but not the drop downs. I have been working with @fgd on Slack to get a fix so that ether option can be used. Sorry for not documenting that issue properly. Please let me know if that fixes the double reg window issue you are seeing.

waisanen commented 5 years ago

Yep, that did the trick! Thanks!