Fix incomplete command

This commit is contained in:
Manuel Thalmann 2023-06-25 17:02:44 +02:00
parent 25d2353233
commit 2c05bda390

View file

@ -91,7 +91,7 @@ class Context {
}
[void] RegisterReboot([Microsoft.Win32.RegistryKey] $userKey) {
$null = Set-ItemProperty -Path $this.GetRunOnceKey($userKey).PSPath -Value "pwsh `"$($this.EntryPoint)`"" -Type "ExpandString";
$null = Set-ItemProperty -Path $this.GetRunOnceKey($userKey).PSPath -Name $this.RunOnceName -Value "pwsh `"$($this.EntryPoint)`"" -Type "ExpandString";
}
[void] RegisterNewUserReboot() {