21 lines
550 B
PowerShell
21 lines
550 B
PowerShell
param(
|
|
$Action,
|
|
[hashtable] $Arguments
|
|
)
|
|
|
|
. "$PSScriptRoot/../PowerShell/Profile.ps1";
|
|
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
-Configurator {
|
|
param([string] $Name)
|
|
|
|
Add-PowerShellProfileStatement `
|
|
-System `
|
|
-Category "$Name" `
|
|
-Script (
|
|
@(
|
|
"# $Name",
|
|
(Get-ScriptInitializer "zoxide init powershell | Out-String")
|
|
) -join [System.Environment]::NewLine);
|
|
};
|