Disable auto reboot by default

This commit is contained in:
Manuel Thalmann 2024-08-12 01:27:50 +02:00
parent 9c7729ce56
commit d37cd11acd

View file

@ -1,6 +1,7 @@
. "$PSScriptRoot/Config.ps1";
. "$PSScriptRoot/../Types/OneShotTask.ps1";
. "$PSScriptRoot/../../Windows/Scripts/PowerManagement.ps1";
. "$PSScriptRoot/../../Windows/Scripts/Registry.ps1";
$null = New-Module {
. "$PSScriptRoot/../Types/OneShotTask.ps1";
@ -28,6 +29,7 @@ $null = New-Module {
$env:CONFIG_MODULE = Resolve-Path $env:CONFIG_MODULE;
}
Disable-WindowsUpdateAutoRestart;
New-Alias -Force "sudo" gsudo;
& $Action;
}