Functioning download progress updates

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-04 17:11:37 +11:00
parent a1fed18d00
commit afd07bb379
9 changed files with 89 additions and 27 deletions
+3 -2
View File
@@ -11,7 +11,7 @@ use crate::downloads::download_agent::GameDownloadAgent;
use auth::{auth_initiate, generate_authorization_header, recieve_handshake};
use db::{DatabaseInterface, DATA_ROOT_DIR};
use downloads::download_commands::{
queue_game_download, start_game_downloads, stop_specific_game_download,
get_game_download_progress, queue_game_download, start_game_downloads, stop_specific_game_download
};
use env_logger::Env;
use http::{header::*, response::Builder as ResponseBuilder};
@@ -117,7 +117,8 @@ pub fn run() {
// Downloads
queue_game_download,
start_game_downloads,
stop_specific_game_download
stop_specific_game_download,
get_game_download_progress
])
.plugin(tauri_plugin_shell::init())
.setup(|app| {