diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index 4bdf2d7..428c55b 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -2424,6 +2424,7 @@ pub fn ai_ask( // path resolver, since dirs::config_dir() is not reliable in the app sandbox. static MOBILE_CONFIG_DIR: std::sync::OnceLock = std::sync::OnceLock::new(); +#[cfg(mobile)] pub fn set_mobile_config_dir(path: std::path::PathBuf) { let _ = MOBILE_CONFIG_DIR.set(path); }