setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
238 stars 52 forks source link

Skip userInput if all User Input fields are disabled #61

Closed rougegoat closed 1 year ago

rougegoat commented 1 year ago

Addresses an edge case where the userInput screen can pop up with no input options available.

dan-snelson commented 1 year ago

Happy Thursday, @rougegoat!

So, the admin left "welcomeDialog="${6:-"userInput"}" but set all the promptFors to false ?

rougegoat commented 1 year ago

That's correct, but after submitting it occurred to me that there's still a good potential reason to display that first screen's message even if you're not taking user input.