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'