Ensure the aliae config directory exists

This commit is contained in:
Manuel Thalmann 2024-03-22 00:19:51 +01:00
parent 6aaff564cc
commit ab50077d04

View file

@ -3,5 +3,6 @@
$configFile="$env:ProgramData/aliae/aliae.yml";
Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/aliae/install.sh`"";
New-Item -Force $configFile;
Copy-Item -Force "$PSScriptRoot/../../../Common/Config/aliae/aliae.yml" $configFile;
[Environment]::SetEnvironmentVariable("ALIAE_CONFIG", $configFile, [System.EnvironmentVariableTarget]::Machine)