29 lines
791 B
PowerShell
29 lines
791 B
PowerShell
param(
|
|
$Action,
|
|
[hashtable] $Arguments
|
|
)
|
|
|
|
& {
|
|
param(
|
|
[hashtable] $Parameters
|
|
)
|
|
|
|
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
|
. "$PSScriptRoot/../../../Common/Software/PowerShell/Profile.ps1";
|
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
|
$base = "$PSScriptRoot/../../../Common/Software/zoxide/Main.ps1";
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
-Installer {
|
|
Install-ChocoPackage zoxide;
|
|
Install-WingetPackage junegunn.fzf;
|
|
} `
|
|
-Configurator {
|
|
param(
|
|
$Arguments
|
|
)
|
|
|
|
& $base ([InstallerAction]::Configure) @PSBoundParameters;
|
|
};
|
|
} $PSBoundParameters;
|