directly passing param into correct var

This commit is contained in:
MyDrift
2024-08-26 13:25:03 +02:00
parent 979ab90d8c
commit a30b37168f
4 changed files with 14 additions and 17 deletions

View File

@ -181,15 +181,18 @@ if ($PARAM_CONFIG) {
}
# Invoke the WPFInstall function with the combined configuration
Invoke-WPFInstall -InstallConfig $combinedInstallConfig
Invoke-WPFInstall -PackagesToInstall $combinedInstallConfig
}
if ($installConfig.WPFTweaks) {
write-host "Running Tweaks"
Invoke-WPFtweaksbutton -TweaksConfig $installConfig.WPFTweaks
Invoke-WPFtweaksbutton -Tweaks $installConfig.WPFTweaks
}
if ($installConfig.WPFFeature) {
write-host "Installing Features"
Invoke-WPFFeatureInstall -FeatureConfig $installConfig.WPFFeature
Invoke-WPFFeatureInstall -Features $installConfig.WPFFeature
}
} else {
Invoke-WPFImpex -type "import" -Config $PARAM_CONFIG