Simplify aliae
installation
This commit is contained in:
parent
c9971d32e0
commit
356611b169
2 changed files with 3 additions and 13 deletions
|
@ -1,13 +1,3 @@
|
|||
#!/bin/pwsh
|
||||
param($context);
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
[Context] $context = $context;
|
||||
$script = New-TemporaryFile;
|
||||
$script = Rename-Item $script "$($script.Name).sh" -PassThru;
|
||||
|
||||
Write-Information "Preparing setup script";
|
||||
Set-Content $script ("bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"");
|
||||
Write-Information "Running prepared script";
|
||||
Start-Process -Wait $script;
|
||||
Remove-Item $script;
|
||||
. "$PSScriptRoot/../../Scripts/BashScript.ps1";
|
||||
Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"";
|
||||
|
|
|
@ -4,4 +4,4 @@ param($context);
|
|||
|
||||
[Context] $context = $context;
|
||||
winget install --accept-source-agreements --accept-package-agreements -s winget --scope machine -e --id JanDeDobbeleer.Aliae;
|
||||
. "$PSScriptRoot/../../Config/aliae/Install.ps1" $context;
|
||||
. "$PSScriptRoot/../../Config/aliae/Install.ps1";
|
||||
|
|
Loading…
Reference in a new issue