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.
Refactored the way the brandingBanner variable is checked. Script now only caches remote resources if they are https URLs. Local files are simply piped to the rest of the script so this should cut down on unwanted network requests.
This needs extra testing as quite a bit of code was changed. Seems to work fine in my limited DEBUG testing.
This PR should satisfy #129
Refactored the way the
brandingBanner
variable is checked. Script now only caches remote resources if they are https URLs. Local files are simply piped to the rest of the script so this should cut down on unwanted network requests.This needs extra testing as quite a bit of code was changed. Seems to work fine in my limited DEBUG testing.