feat(downloads): Generic function to set download state

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-09 20:15:04 +11:00
parent e7169dd1b1
commit f80bbe1b0e
4 changed files with 30 additions and 3 deletions
+2 -1
View File
@@ -125,7 +125,8 @@ pub fn run() {
cancel_specific_game_download,
get_game_download_progress,
resume_game_download,
pause_game_download
pause_game_download,
set_download_state
])
.plugin(tauri_plugin_shell::init())
.setup(|app| {