Module up_rs::tasks::defaults[][src]

Update macOS defaults.

Make it easy for users to provide a list of defaults to update, and run all the updates at once. Also takes care of restarting any tools to pick up the config, or notifying the user if they need to log out or reboot.

Note that this runs the defaults binary rather than manually editing .plist files as macOS has a layer of indirection that means directly editing files may not work, for more information see: https://eclecticlight.co/2017/07/06/sticky-preferences-why-trashing-or-editing-them-may-not-change-anything/ https://apps.tempel.org/PrefsEditor/

Structs

DefaultsConfig

Enums

DefaultsError

Errors thrown by this file.