diff --git a/Update.ps1 b/Update.ps1 index 88f9634..d21571e 100644 --- a/Update.ps1 +++ b/Update.ps1 @@ -118,8 +118,8 @@ function Get-AgentServiceId { if (-not $AgentRoot) { $AgentRoot = $scriptDir } $settingsDir = Join-Path $AgentRoot 'Settings' $candidates = @( - Join-Path $settingsDir 'agent_settings_svc.json', - Join-Path $settingsDir 'agent_settings.json' + (Join-Path $settingsDir 'agent_settings_svc.json') + (Join-Path $settingsDir 'agent_settings.json') ) foreach ($path in $candidates) {