For some systems, we observe that:
|
if ($clientStarted -and (!($pp['norelaunch']))) { |
|
& $clientPath |
|
} |
fails with:
ERROR: The term 'C:\Program Files\Nextcloud\nextcloud.exe C:\Program Files\Nextcloud\nextcloud.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I believe that is due to:
|
$processInfo = Get-Process -Name "nextcloud" -EA 0 |
matching multiple processes, and the building a concatenated string, if e.g. the Nextcloud tray and the app is open in parallel.
For some systems, we observe that:
chocolatey-packages/nextcloud-client/tools/chocolateyinstall.ps1
Lines 41 to 43 in e8fc6cf
fails with:
I believe that is due to:
chocolatey-packages/nextcloud-client/tools/chocolateyinstall.ps1
Line 5 in e8fc6cf
matching multiple processes, and the building a concatenated string, if e.g. the Nextcloud tray and the app is open in parallel.