Allow running installation in debug mode

This commit is contained in:
Manuel Thalmann 2024-08-16 15:16:28 +02:00
parent 4c04935f2f
commit 2034f5c9f6
3 changed files with 10 additions and 1 deletions
scripts/Windows/Scripts

View file

@ -59,6 +59,7 @@ $null = New-Module {
""
}
}) +
($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG)" : "") +
"`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection (Resolve-Path $env:INSTALLER_SCRIPT));" +
"`$env:CONFIG_MODULE = $(ConvertTo-Injection (Resolve-Path $env:CONFIG_MODULE));" +
"& `$env:INSTALLER_SCRIPT;";