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.
As one of the people who turns off the Welcome dialog by setting welcomeDialog="${6:-"false"}" I noticed that the command file /var/tmp/dialogCommandFileWelcome.XXX is still created, a minor issue.
More important is that welcomeBannerImage is checked and the default downloaded and cached. From the debug output
2023-08-22 11:24:52 - WELCOME DIALOG: welcomeBannerImage is not available, using a default image
2023-08-22 11:24:52 - WELCOME DIALOG: Auto-caching hosted 'yellow-watercolor-paper_95678-448.jpg' …
2023-08-22 11:25:52 - WELCOME DIALOG: bannerImage is not available, using alternative image
This one actually takes some time. It's not a lot but it is a delay. Could those lines be wrapped in an if [[ ! welcomeDialog = "false" or some such.
As one of the people who turns off the Welcome dialog by setting
welcomeDialog="${6:-"false"}"
I noticed that the command file/var/tmp/dialogCommandFileWelcome.XXX
is still created, a minor issue.More important is that
welcomeBannerImage
is checked and the default downloaded and cached. From the debug outputThis one actually takes some time. It's not a lot but it is a delay. Could those lines be wrapped in an
if [[ ! welcomeDialog = "false"
or some such.