Refactor the determination of the nextcloud path

This commit is contained in:
Manuel Thalmann 2023-07-03 22:54:30 +02:00
parent 085bfeffa8
commit a6e6d77c97

View file

@ -255,7 +255,7 @@ class Context {
} }
$nextcloudProcess = Get-Process nextcloud; $nextcloudProcess = Get-Process nextcloud;
$nextcloudPath = $nextcloudProcess.Path; $nextcloudPath = [string]$nextcloudProcess[0].Path;
$nextcloudProcess | Stop-Process -Force; $nextcloudProcess | Stop-Process -Force;
$accountSectionEntered = $false; $accountSectionEntered = $false;