Remove unnecessary statements
This commit is contained in:
parent
38a1e3a225
commit
2ebbf3b505
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ function Invoke-Upgrade([Context] $context)
|
|||
{
|
||||
Write-Information "A Reboot is Required!";
|
||||
Write-Information "Windows will reboot now and the installation will be continued automatically.";
|
||||
$null = New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\RunOnce" -Name "PortValhalla" -Value "pwsh `"$($context.EntryPoint)`"" -PropertyType ExpandString;
|
||||
$context.Reboot();
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue