pub fn set_output_dir(app: AppHandle, dir: String) -> Result<(), String>Expand description
Persist dir as the default output directory for future
recordings. An empty / whitespace-only string clears the override,
reverting to the per-OS default.
§Errors
Returns an error string when the settings file can’t be written (app-config dir unavailable, read-only filesystem, …).