mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-08 01:14:27 +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
|
# Create object to return
|
||||||
$Result = New-Object PSObject -Property
|
$params += @{Version = $Version}
|
||||||
@{
|
$params += @{Downloadlink = $Downloadlink}
|
||||||
Version = $Version
|
$Result = New-Object PSObject -Property $params
|
||||||
Downloadlink = $Downloadlink
|
|
||||||
}
|
|
||||||
|
|
||||||
return($Result)
|
return($Result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user