Configure software implicitly

This commit is contained in:
Manuel Thalmann 2024-08-23 01:41:32 +02:00
parent 39600c813f
commit 1f20af3bc5
17 changed files with 6 additions and 96 deletions
scripts/Common/Software/PowerShell

View file

@ -8,13 +8,6 @@ param (
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
Start-SoftwareInstaller @PSBoundParameters `
-Installer {
param(
[scriptblock] $Installer
)
& $Installer -Action ([InstallerAction]::Configure);
} `
-Configurator {
[string] $globalDir = $null;
$indicator = "# Profile Files";

View file

@ -30,7 +30,6 @@ $null = New-Module {
};
installer = {
param(
[scriptblock] $Installer,
[hashtable] $Arguments
)
@ -46,7 +45,6 @@ $null = New-Module {
}
Remove-Item Env:\PENDING_MODULE_NAME;
& $Installer -Action ([InstallerAction]::Configure) @PSBoundParameters;
};
configurator = {