Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-06-25 16:54:10 +02:00
parent 0b2e2744b0
commit eed0ddc82b

View file

@ -83,7 +83,7 @@ class Context {
Push-Location $userKey.PSPath;
$result = Get-Item "Software\Microsoft\Windows\CurrentVersion\RunOnce";
Pop-Location;
return $result.PSPath;
return $result;
}
[void] RegisterReboot() {