This commit is contained in:
2025-11-08 18:40:19 +01:00
parent 64b4665b57
commit 5710d87295
2 changed files with 189 additions and 10 deletions
+2 -2
View File
@@ -209,7 +209,7 @@ const App = () => {
const updateGame = async (id: string) => {
console.log(`🎯 Updating game with id=${id}`);
try {
const success = await invoke('install_game', { id });
const success = await invoke('update_game', { id });
if (success) {
console.log(`✅ Game update for id=${id} started...`);
// update install status in gameItems for this game
@@ -217,7 +217,7 @@ const App = () => {
? { ...item, install_status: InstallStatus.CheckingServer }
: item));
} else {
// game is already being installed
// game is already being installed/updated
console.warn(`🚧 Game with id=${id} is already being updated`);
}
} catch (error) {