refactor ConfigLoader to CfgDeploy

This commit is contained in:
Nathan
2026-02-23 09:47:26 -07:00
parent fcdb7661fe
commit 2672b7bb84
11 changed files with 398 additions and 29 deletions
+4 -4
View File
@@ -8,11 +8,11 @@ $ErrorActionPreference = 'Stop'
$ScriptDir = if ($PSScriptRoot) { $PSScriptRoot } else { Split-Path -Parent $MyInvocation.MyCommand.Path }
$configLoader = Join-Path -Path $ScriptDir -ChildPath 'ConfigLoader.ps1'
if (-not (Test-Path -LiteralPath $configLoader)) {
throw "Missing ConfigLoader.ps1 in $ScriptDir"
$cfgDeploy = Join-Path -Path $ScriptDir -ChildPath 'CfgDeploy.ps1'
if (-not (Test-Path -LiteralPath $cfgDeploy)) {
throw "Missing CfgDeploy.ps1 in $ScriptDir"
}
. $configLoader
. $cfgDeploy
$useIsoDailyFormat = Use-IsoDailyFormat