diff --git a/src/main/events/cloud-save/download-game-artifact.ts b/src/main/events/cloud-save/download-game-artifact.ts index 00fae6aa..ef00629b 100644 --- a/src/main/events/cloud-save/download-game-artifact.ts +++ b/src/main/events/cloud-save/download-game-artifact.ts @@ -125,7 +125,11 @@ const downloadGameArtifact = async ( const [game] = await Ludusavi.findGames(shop, objectId); if (!game) throw new Error("Game not found in Ludusavi manifest"); - replaceLudusaviBackupWithCurrentUser(backupPath, game, homeDir); + replaceLudusaviBackupWithCurrentUser( + backupPath, + game.replaceAll(":", "_"), + normalizePath(homeDir) + ); Ludusavi.restoreBackup(backupPath).then(() => { WindowManager.mainWindow?.webContents.send( diff --git a/src/renderer/src/pages/achievement/achievements.tsx b/src/renderer/src/pages/achievement/achievements.tsx index 19152f9c..272473dd 100644 --- a/src/renderer/src/pages/achievement/achievements.tsx +++ b/src/renderer/src/pages/achievement/achievements.tsx @@ -133,6 +133,7 @@ export function Achievement() { src={ achievement.unlocked ? achievement.icon : achievement.icongray } + alt={achievement.displayName} loading="lazy" />