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.
Added a check to account for if the loggedInUser returns in all caps, as this sometimes happens with SSO Attributes.
Previously, if the name was in all caps, it stayed that way when presenting the dialog to the user:
With the added check in the loggedInUserFirstname, it now looks to see if the name is in all caps and corrects the case, while also still working for other cases:
Added a check to account for if the loggedInUser returns in all caps, as this sometimes happens with SSO Attributes.
Previously, if the name was in all caps, it stayed that way when presenting the dialog to the user:![Screenshot 2023-07-19 at 12 33 06 PM](https://github.com/dan-snelson/Setup-Your-Mac/assets/30540357/95b8c75a-209b-4cce-a711-bacdb782a1a0)
With the added check in the loggedInUserFirstname, it now looks to see if the name is in all caps and corrects the case, while also still working for other cases:![Screenshot 2023-07-19 at 12 34 55 PM](https://github.com/dan-snelson/Setup-Your-Mac/assets/30540357/964f1a27-9746-44ba-9afa-8e57d9ae5fde)