Merge branch 'feature/cloud-sync' of github.com:hydralauncher/hydra into feature/cloud-sync

This commit is contained in:
Chubby Granny Chaser 2024-10-10 13:29:42 +01:00
commit 05653500b6
No known key found for this signature in database

View file

@ -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(