2024-08-08 02:36:35 +00:00
|
|
|
param(
|
|
|
|
$Action,
|
|
|
|
[hashtable] $Arguments
|
|
|
|
)
|
|
|
|
|
2024-09-19 20:24:36 +00:00
|
|
|
& {
|
|
|
|
param(
|
|
|
|
[hashtable] $Parameters
|
|
|
|
)
|
2024-08-08 02:36:35 +00:00
|
|
|
|
2024-09-19 20:24:36 +00:00
|
|
|
. "$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;
|