2024-09-19 20:24:36 +00:00
|
|
|
param(
|
|
|
|
$Action,
|
|
|
|
[hashtable] $Arguments
|
|
|
|
)
|
|
|
|
|
|
|
|
. "$PSScriptRoot/../PowerShell/Profile.ps1";
|
|
|
|
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
|
|
|
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
|
|
-Configurator {
|
2024-09-23 00:10:42 +00:00
|
|
|
param([string] $Name)
|
|
|
|
|
2024-09-19 20:24:36 +00:00
|
|
|
Add-PowerShellProfileStatement `
|
|
|
|
-System `
|
2024-09-23 00:10:42 +00:00
|
|
|
-Category "$Name" `
|
2024-09-19 20:24:36 +00:00
|
|
|
-Script (
|
|
|
|
@(
|
2024-09-23 00:10:42 +00:00
|
|
|
"# $Name",
|
2024-09-19 20:24:36 +00:00
|
|
|
(Get-ScriptInitializer "zoxide init powershell | Out-String")
|
|
|
|
) -join [System.Environment]::NewLine);
|
|
|
|
};
|