From 9e7ed6e85e69ed45c8864e98c445d43fa707446c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 9 Aug 2024 23:23:55 +0200 Subject: [PATCH] Ensure `CONFIG_MODULE` is resolved --- scripts/Windows/Scripts/PowerManagement.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/PowerManagement.ps1 b/scripts/Windows/Scripts/PowerManagement.ps1 index 70c7fb8f..17577257 100644 --- a/scripts/Windows/Scripts/PowerManagement.ps1 +++ b/scripts/Windows/Scripts/PowerManagement.ps1 @@ -60,7 +60,7 @@ $null = New-Module { } }) + "`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection (Resolve-Path $env:INSTALLER_SCRIPT));" + - "`$env:CONFIG_MODULE = $(ConvertTo-Injection ($env:CONFIG_MODULE));" + + "`$env:CONFIG_MODULE = $(ConvertTo-Injection (Resolve-Path $env:CONFIG_MODULE));" + "& `$env:INSTALLER_SCRIPT;"; }