Refactor the determination of the nextcloud path

This commit is contained in:
Manuel Thalmann 2023-07-03 22:54:30 +02:00
parent 50774027f3
commit f81ccaff85

View file

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