From 520e3c9347349076180e622d9629581157eed593 Mon Sep 17 00:00:00 2001 From: Dragoon Dorise Date: Thu, 26 Sep 2024 12:02:27 +0200 Subject: [PATCH] fix Steam cloudSync --- tools/cloudSync/cloud_sync_watcher_user.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cloudSync/cloud_sync_watcher_user.ps1 b/tools/cloudSync/cloud_sync_watcher_user.ps1 index cfdbbb73..070bb4c7 100644 --- a/tools/cloudSync/cloud_sync_watcher_user.ps1 +++ b/tools/cloudSync/cloud_sync_watcher_user.ps1 @@ -1,5 +1,5 @@ $user=$args[0] -$userPath = ( Get-CimInstance Win32_UserProfile -Filter "SID = '$((Get-LocalUser $user).Sid)'" ).LocalPath +$userPath = "C:\Users\$user" $logPath = Join-Path -Path "$userPath" -ChildPath 'EmuDeck\logs\cloudWatcher.log' $f1 = Join-Path -Path "$userPath" -ChildPath 'EmuDeck\settings.ps1' $f2 = Join-Path -Path "$userPath" -ChildPath 'AppData\Roaming\EmuDeck\backend\functions\createLink.ps1'