Fix incomplete command
This commit is contained in:
parent
fb41e37fa2
commit
972e1b6584
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue