pub fn get_data_dir(state: &Arc<AppState>) -> Result<Value, String>
Get the app data directory path (version-specific).