fix: using realpath for fedora wine prefix

This commit is contained in:
Chubby Granny Chaser
2025-05-12 17:31:47 +01:00
parent 475ab4119b
commit 1df2353f06
6 changed files with 51 additions and 23 deletions

View File

@@ -135,10 +135,12 @@ export class CloudSync {
shop,
objectId,
hostname: os.hostname(),
winePrefixPath: game?.winePrefixPath ?? null,
winePrefixPath: game?.winePrefixPath
? fs.realpathSync(game.winePrefixPath)
: null,
homeDir: this.getWindowsLikeUserProfilePath(game?.winePrefixPath ?? null),
downloadOptionTitle,
platform: os.platform(),
platform: process.platform,
label,
});