diff --git a/scripts/Windows/Config/aliae/Install.ps1 b/scripts/Windows/Config/aliae/Install.ps1 index 387e5b36..ce7d0765 100644 --- a/scripts/Windows/Config/aliae/Install.ps1 +++ b/scripts/Windows/Config/aliae/Install.ps1 @@ -1,3 +1,7 @@ #!/bin/pwsh . "$PSScriptRoot/../../Scripts/BashScript.ps1"; +$configFile="$env:ProgramData/aliae/aliae.yml"; 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)