feat(library): automatically fetch remote data if not available

This commit is contained in:
DecDuck
2024-11-26 20:11:03 +11:00
parent 99c8b39a11
commit 2dedfbbd5c
4 changed files with 50 additions and 6 deletions

View File

@ -35,6 +35,7 @@ pub enum DatabaseGameStatus {
#[serde(rename_all = "camelCase")]
pub struct DatabaseGames {
pub install_dirs: Vec<String>,
// Guaranteed to exist if the game also exists in the app state map
pub games_statuses: HashMap<String, DatabaseGameStatus>,
}