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(