Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-06-25 16:54:10 +02:00
parent 1eee5e69db
commit 4dbbd1993f

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() {