Version 1.5B

This commit is contained in:
Madzone
2026-08-07 00:23:32 +02:00
parent bcd8cc6bb4
commit 7c848db363
+9 -6
View File
@@ -101,22 +101,25 @@ function Import-InstallerModules {
foreach($Module in $Modules) foreach($Module in $Modules)
{ {
$Path =vJoin-Path $Script:ModulePath $Module $Path =vJoin-Path $Script:ModulePath $Module
if(Test-Path $Path) if(Test-Path $Path)
{ {
Import-Module $Path -Force
Write-Host "Lade Modul: $Path" -ForegroundColor Cyan
Import-Module `
$Path `
-Force `
-Verbose `
-ErrorAction Stop
} }
else else
{ {
throw ` throw `
"Modul nicht gefunden: $Path" "Modul nicht gefunden: $Path"
} }
} }