mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'feature/cloud-sync' of github.com:hydralauncher/hydra into feature/cloud-sync
This commit is contained in:
commit
05653500b6
1 changed files with 5 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue