pub async fn import_heroic_games( app: AppHandle, state: State<'_, AppState>, heroic_config_path: Option<String>, ) -> Result<String, AppError>