Macjutsu / super

S.U.P.E.R.M.A.N. optimizes the macOS software update experience.
Apache License 2.0
605 stars 82 forks source link

Updated Jamf-Pro-External-Application-Custom-Schema #149

Closed yinfante356 closed 11 months ago

yinfante356 commented 11 months ago

Can we please get an updated Jamf-Pro-External-Application-Custom-Schema ?

I cant seem to find neither of these two options in the most current schema "Jamf-Pro-External-Application-Custom-Schema-com.macjutsu.super-v4.0.0-beta2.json"

--auth-ask-user-to-save-password --workflow-disable-relaunch

a workaround would also be appreciated.

Thanks,

yinfante356 commented 11 months ago

Basically Ive noticed v4 has a default schedule to automatically relaunch itself on an schedule. This is new to v4 so need a way to make SUPER stop starting after it has confirmed no more updates are available.

Macjutsu commented 11 months ago

Both this new behavior and the method to stop it are already documented in the Changelog: https://github.com/Macjutsu/super/blob/4.0.0-beta3/CHANGELOG.md

yinfante356 commented 11 months ago

do you mind explaining how i can use the --workflow-disable-relaunch from the configuration profile in Jamf ? the --deferral-timer-workflow-relaunch is present in the schema so i can certainly use that short term but trying to figure out how to enforce the --workflow-disable-relaunch in my deployment. Thx

Macjutsu commented 11 months ago

All the options and managed preferences have always been available via super --usage. Also all options follow the same name schema:

Command option name -> managed preference name --super-option-name -> SuperOptionName

yinfante356 commented 11 months ago

Macjutsu -

If am trying to add --workflow-disable-relaunch to the plist. What would be the key?

Here is an example of the one i can choose from the latest Schema made avail for Jamf.

DeferralTimerWorkflowRelaunch 43804

How can i recreate this one > --workflow-disable-relaunch Is it WorkflowDisableRelaunch but if so, when adding it manually i am being asked for "null, string, number, integer,boolean, object, array"

Thanks,

yinfante356 commented 11 months ago

Update. I was able to get Super not to reschedule itself by manually adding a custom property to the configuration profile in Jamf as "WorkflowDisableRelaunch" and choosing Boolean set to True.

Macjutsu commented 11 months ago

There is an example profile of all the keys right in GitHub...

https://github.com/Macjutsu/super/blob/4.0.0-beta3/Example-MDM/All-Options-Example-DO-NOT-DEPLOY-com.macjutsu.super.plist