Validated that loading data works

This commit is contained in:
quexeky
2024-10-20 20:45:02 +11:00
parent 07379b2ba8
commit d21b1d2857
2 changed files with 7 additions and 6 deletions

View File

@ -13,7 +13,7 @@ import { invoke } from "@tauri-apps/api/core";
async function requestGame() {
console.log("Requested game from FE");
await invoke("start_game_download", { gameId: "123", gameVersion: "1.2.3", maxThreads: 4 });
await invoke("start_game_download", { gameId: "94b8ac10-a6fc-4a94-b519-e6df78018e26", gameVersion: "1.11.2", maxThreads: 4 });
}
function requestGameWrapper() {
console.log("Wrapper started");
@ -23,4 +23,4 @@ function requestGameWrapper() {
console.log(e);
})
}
</script>
</script>