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

9 lines
426 B
PowerShell
Raw Normal View History

2024-03-20 15:00:44 +00:00
#!/bin/pwsh
2024-03-20 23:15:51 +00:00
. "$PSScriptRoot/../../Scripts/BashScript.ps1";
2024-03-21 12:33:00 +00:00
$configFile="$env:ProgramData/aliae/aliae.yml";
2024-03-20 23:15:51 +00:00
Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"";
2024-03-21 12:33:00 +00:00
2024-03-21 23:20:47 +00:00
$null = New-Item -Force $configFile;
2024-03-21 12:33:00 +00:00
Copy-Item -Force "$PSScriptRoot/../../../Common/Config/aliae/aliae.yml" $configFile;
[Environment]::SetEnvironmentVariable("ALIAE_CONFIG", $configFile, [System.EnvironmentVariableTarget]::Machine)