Set up aliae
on windows properly
This commit is contained in:
parent
8e9bbc75f3
commit
7102320760
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue