PortValhalla/scripts/Windows/Config/aliae/Install.ps1

13 lines
425 B
PowerShell

#!/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;