setup-your-mac/SYM-Helper

A button to just generate `policyJSON`

Opened this issue · 3 comments

Is your feature request related to a problem? Please describe.

  • I have done some serious modification of Setup-Your-Mac-via-Dialog.bash and would prefer to generate just the JSON rather than copy and paste the JSON out of the generated script. It does have the drawback of not being able to set variables but that is what most of my changes are anyway.

Describe the solution you'd like

  • Another Generate button so there is Generate Script and Generate JSON

Describe alternatives you've considered

  • I considered being able to specify the script to use in the back end but that is more likely to be buggy than generating just the JSON

Give the following a look over as time permits.
https://github.com/setup-your-mac/SYM-Helper/releases/tag/v1.0.2-b1

One word, @BIG-RAT: Sweetness!

@Honestpuck: Out of curiosity, will specifying your modified script as the Jump-starting > Script Source, with earlier versions of SYM-Helper work as expected?

I don't know, I only have the latest version. I'm intending to put a line ##### policyJSON ##### into my modded script and replace that with the generated JSON.

I've actually just been pulled off my SYM implementation to use the new Self Service, I'll be doing it for my own amusement.

I'm trying to if out all the welcome dialog stuff at the moment and have a wierd problem I will document tomorrow in issues.