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.
Currently the toggleJamfLaunchDaemon trigger is commented out in the QuitScript function but should be executed if the CompletionActionOption results in the Mac not being shut down or restarted. This PR adds an if statement to check if the CompletionActionOption is one where the ToggleJamfLaunchDaemon function should be triggered
Currently the toggleJamfLaunchDaemon trigger is commented out in the QuitScript function but should be executed if the CompletionActionOption results in the Mac not being shut down or restarted. This PR adds an if statement to check if the CompletionActionOption is one where the ToggleJamfLaunchDaemon function should be triggered