restructing and renaming

This commit is contained in:
DecDuck
2024-10-25 17:41:03 +11:00
parent 638fbdfb58
commit 59ef4645c4
5 changed files with 80 additions and 68 deletions
+4 -2
View File
@@ -22,7 +22,7 @@ use std::{
use std::sync::Arc;
use tauri_plugin_deep_link::DeepLinkExt;
use crate::db::DatabaseImpls;
use crate::downloads::download_manager::{start_game_download, GameDownloadManager};
use crate::downloads::download_agent::{start_game_download, GameDownloadAgent};
#[derive(Clone, Copy, Serialize)]
pub enum AppStatus {
@@ -47,7 +47,9 @@ pub struct AppState {
status: AppStatus,
user: Option<User>,
games: HashMap<String, Game>,
game_downloads: Vec<Arc<GameDownloadManager>>
#[serde(skip_serializing)]
game_downloads: Vec<Arc<GameDownloadAgent>>
}
#[tauri::command]