feat: Resume download button

Also added DBWrite and DBRead structs to make database management easier

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-06-21 12:51:50 +10:00
parent abf371c9fc
commit fd61903130
16 changed files with 335 additions and 123 deletions

View File

@ -37,13 +37,15 @@ pub fn fetch_game(
game_id: String,
state: tauri::State<'_, Mutex<AppState>>,
) -> Result<FetchGameStruct, RemoteAccessError> {
offline!(
let res = offline!(
state,
fetch_game_logic,
fetch_game_logic_offline,
game_id,
state
)
);
println!("Res: {:?}", &res);
res
}
#[tauri::command]