pub fn set_host_appearance( app_data_dir: &Path, preference: Option<&str>, ) -> Result<(), SettingsError>