ProfileCreator / ProfileManifests

Manifest repository for the ProfilePayloads framework
341 stars 146 forks source link

Update com.secondsonconsulting.baseline.plist #652

Closed BigMacAdmin closed 9 months ago

BigMacAdmin commented 9 months ago

Updates to support new features of Baseline project.

BigMacAdmin commented 9 months ago

On boolean properties with default value, we prefer using pfm_default to indicate the default over mentioning it in pfm_description.

Thanks for the quick reply!

If I use pfm_default will iMazing or ProfileCreator actually write that key to every profile? Or will it omit that key, unless the user chooses to explicitly set it?

Is pfm_default a "free form" type key where I type in plain language, or do i need to set it as if it were a boolean value itself?

relgit commented 9 months ago

If I use pfm_default will iMazing or ProfileCreator actually write that key to every profile? Or will it omit that key, unless the user chooses to explicitly set it?

The latter. Both editors use this to provide a visual cue to users so that telling the default value of a preference is a matter of a quick glance at the checkbox. iMazing Profile Editor also uses this to omit boolean keys when they are set to their default values unless forced by the user (Option+click) or configured not to.

Is pfm_default a "free form" type key where I type in plain language, or do i need to set it as if it were a boolean value itself?

The expected type is the same as the type of the property. In other words, for boolean properties the value must be either <true/> or <false/>.

BigMacAdmin commented 9 months ago

If I use pfm_default will iMazing or ProfileCreator actually write that key to every profile? Or will it omit that key, unless the user chooses to explicitly set it?

The latter. Both editors use this to provide a visual cue to users so that telling the default value of a preference is a matter of a quick glance at the checkbox. iMazing Profile Editor also uses this to omit boolean keys when they are set to their default values unless forced by the user (Option+click) or configured not to.

Is pfm_default a "free form" type key where I type in plain language, or do i need to set it as if it were a boolean value itself?

The expected type is the same as the type of the property. In other words, for boolean properties the value must be either <true/> or <false/>.

Done and done, thanks again.