Add a script for installing aliae
This commit is contained in:
parent
53466c856c
commit
d5c45fafc7
3 changed files with 74 additions and 21 deletions
scripts/Windows/Software/aliae
23
scripts/Windows/Software/aliae/Main.ps1
Normal file
23
scripts/Windows/Software/aliae/Main.ps1
Normal file
|
@ -0,0 +1,23 @@
|
|||
param (
|
||||
$Action,
|
||||
[hashtable] $Arguments
|
||||
)
|
||||
|
||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||
|
||||
& {
|
||||
param($Parameters)
|
||||
$base = "$PSScriptRoot/../../../Common/Software/aliae/Main.ps1";
|
||||
|
||||
Start-SoftwareInstaller @Parameters `
|
||||
-Installer {
|
||||
Install-WingetPackage JanDeDobbeleer.Aliae;
|
||||
} `
|
||||
-Configurator {
|
||||
. $base -Action ([InstallerAction]::Configure);
|
||||
} `
|
||||
-UserConfigurator {
|
||||
. $base -Action ([InstallerAction]::ConfigureUser);
|
||||
};
|
||||
} $PSBoundParameters;
|
Loading…
Add table
Add a link
Reference in a new issue