mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-07 17:04:32 +01:00
Update _index.en.md
When using deployment tools (like PDQ) the multi-line params caused an exception when running the nested ps1 script. Changing it to an by-line approach solved this.
This commit is contained in:
parent
54af517ceb
commit
d8cc87c301
@ -67,12 +67,10 @@ function getLatest()
|
||||
}
|
||||
|
||||
# Create object to return
|
||||
$Result = New-Object PSObject -Property
|
||||
@{
|
||||
Version = $Version
|
||||
Downloadlink = $Downloadlink
|
||||
}
|
||||
|
||||
$params += @{Version = $Version}
|
||||
$params += @{Downloadlink = $Downloadlink}
|
||||
$Result = New-Object PSObject -Property $params
|
||||
|
||||
return($Result)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user