2024-08-07 21:22:04 +00:00
|
|
|
param (
|
|
|
|
$Action,
|
|
|
|
[hashtable] $Arguments
|
|
|
|
)
|
|
|
|
|
|
|
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
|
|
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
|
|
|
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
|
|
-Installer {
|
|
|
|
param(
|
|
|
|
[scriptblock] $Installer
|
|
|
|
)
|
|
|
|
|
2024-08-08 12:23:15 +00:00
|
|
|
Install-WingetPackage JanDeDobbeleer.OhMyPosh -ArgumentList "--scope","machine";
|
2024-08-07 21:22:04 +00:00
|
|
|
& $Installer -Action ([InstallerAction]::Configure);
|
|
|
|
} `
|
|
|
|
-Configurator {
|
|
|
|
. "$PSScriptRoot/../../../Common/Software/Oh My Posh/Manage.ps1" `
|
|
|
|
-Action ([InstallerAction]::Configure);
|
|
|
|
};
|