Refactor the installation loop architecture

This commit is contained in:
Manuel Thalmann 2024-07-31 16:25:32 +02:00
parent 73c0648611
commit 467ad0caab
2 changed files with 36 additions and 25 deletions
scripts/Windows/Scripts

View file

@ -2,6 +2,11 @@ using namespace Microsoft.Win32;
using namespace System.Security.AccessControl;
using namespace System.Security.Principal;
enum SetupStage {
Initialize = "init"
Install = "install"
}
$null = New-Module {
[string] $configRoot = "HKLM:\Software\PortValhalla";
[string] $stageOption = "Stage";