Function deskulpt::commands::init_settings
source ยท pub(crate) fn init_settings<R: Runtime>(
app_handle: AppHandle<R>,
) -> Result<Settings, String>
Expand description
Command for initializing the settings.
This command tries to load the previously stored settings. It never fails, but instead returns the default settings upon any error.