pub(crate) fn settings_path(app: &App) -> PathBuf
Resolve ${app_config_dir}/settings.json from the Tauri app handle.
${app_config_dir}/settings.json
Falls back to a temp-dir path in tests / non-standard environments so the app does not panic on startup.