From b1169f5e3450e8bcf3ce1fde6bf277f600429ebc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 23 Aug 2024 19:24:49 +0200 Subject: [PATCH] Fetch config from proper section --- scripts/Common/Scripts/Config.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Common/Scripts/Config.ps1 b/scripts/Common/Scripts/Config.ps1 index 1969cf8b..b1cbf570 100644 --- a/scripts/Common/Scripts/Config.ps1 +++ b/scripts/Common/Scripts/Config.ps1 @@ -161,7 +161,7 @@ $null = New-Module { Gets the name of the config root. #> function Get-ConfigRootName { - return "valhalla$($IsWindows ? ".windows" : '')"; + return "valhalla.$($IsWindows ? "windows" : "linux")"; } <# @@ -408,7 +408,7 @@ $null = New-Module { [string] $Name ) - Get-Config "valhalla.software.$Name"; + Get-Config "$(Get-ConfigRootName).software.$Name"; } <#