Set up aliae on windows properly

This commit is contained in:
Manuel Thalmann 2024-03-21 13:33:00 +01:00
parent 8e9bbc75f3
commit 7102320760

View file

@ -1,3 +1,7 @@
#!/bin/pwsh #!/bin/pwsh
. "$PSScriptRoot/../../Scripts/BashScript.ps1"; . "$PSScriptRoot/../../Scripts/BashScript.ps1";
$configFile="$env:ProgramData/aliae/aliae.yml";
Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`""; Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"";
Copy-Item -Force "$PSScriptRoot/../../../Common/Config/aliae/aliae.yml" $configFile;
[Environment]::SetEnvironmentVariable("ALIAE_CONFIG", $configFile, [System.EnvironmentVariableTarget]::Machine)