fix: prevent duplicate achievements request in some cases

This commit is contained in:
Zamitto
2025-07-23 13:32:33 -03:00
parent e089ca8705
commit 714b30d6da

View File

@@ -46,7 +46,7 @@ const watchAchievementsWindows = async () => {
}
for (const file of gameAchievementFiles) {
compareFile(game, file);
await compareFile(game, file);
}
}
};
@@ -67,7 +67,7 @@ const watchAchievementsWithWine = async () => {
gameAchievementFiles.push(...achievementFileInsideDirectory);
for (const file of gameAchievementFiles) {
compareFile(game, file);
await compareFile(game, file);
}
}
};