setup-your-mac / SYM-Helper

Help generate the Setup Your Mac script
52 stars 4 forks source link

policyJSON Import button #25

Open tempusthales opened 6 months ago

tempusthales commented 6 months ago

Is your feature request related to a problem? Please describe. We use SYM-Helper to keep the Branding, Support, and Prompt For settings, in place without having to rewrite them all over every time the script is generated. The interface doesn't let you generate the script if there are no Policy Array Items. It only generates if there is a configuration created.

We ended making our policyJSON directly on vscode, because interaction via the SYM-Helper tool takes too long to create.

Describe the solution you'd like There could be a button that reads 'Import policyJSON' where we could add our policyJSON.json and the ui can inject it into the SYM code, and generate the script with the policy JSON by hand.

Describe alternatives you've considered The workaround we have for this, is basically 3 dummy policies, for 3 configurations to generate the script, and I paste the policyJSON content on top of whatever is generated.

dan-snelson commented 6 months ago

@tempusthales:

In my experience, the four Configurations I've built with SYM-Helper are accurately maintained between updates to both Setup-Your-Mac-via-Dialog.bash and SYM-Helper.app.

Screenshot 2024-02-22 at 12 09 40 AM

Screenshot 2024-02-22 at 12 09 45 AM

In fact, I just launched SYM-Helper.app (1.1.1) and produced a working Setup-Your-Mac-via-Dialog.bash (1.14.2) with the click of a single button.

Screenshot 2024-02-22 at 12 07 23 AM

(It was so easy, I should probably update Upgrading SYM.)

dan-snelson commented 6 months ago

National Chili Day 2024 Update

tempusthales commented 6 months ago

@dan-snelson that is pretty neat. It has however been a cluster*duck for us because of the sheer number of policies we have. It's why we build the policyJSON in vscode separately. All we are looking is to have a button so we can add or load our policyJSON to SYM-Helper, that way once its there we can then continue to generate the script with every update.

RussellCollis commented 2 months ago

This would be very useful especially for MSPs, where a json could be saved and then imported at a later date - especially if workjing between several devices as if i log into an instance on a new mac with SYM helper - it doesnt see the jsons i have already setup