Install elixir locally
- install elixir to path from variable
- add elixir path to environment path
diff --git a/bin/install_dependencies.ps1 b/bin/install_dependencies.ps1
index a4e3648..3c145fe 100644
--- a/bin/install_dependencies.ps1
+++ b/bin/install_dependencies.ps1
@@ -41,8 +41,7 @@
# Download and install Elixier
wget -Uri $elxBuildUri -OutFile $elxBuildFile
-Expand-Archive -Path $elxBuildFile -DestinationPath "c:\relax\elixir"
-copy "c:\relax\elixir\*" ${erlInstallPath} -Recurse -Force
+Expand-Archive -Path $elxBuildFile -DestinationPath $elxInstallPath
# Download and install VCPkg
git clone https://github.com/Microsoft/vcpkg.git
diff --git a/bin/shell.ps1 b/bin/shell.ps1
index 2ad12fb..84235ed 100644
--- a/bin/shell.ps1
+++ b/bin/shell.ps1
@@ -28,7 +28,8 @@
Import-Module ${PSScriptRoot}\which.psm1
$env:VCPKG_BIN = "C:\relax\vcpkg\installed\x64-windows\bin"
-$env:PATH += ";${erlInstallPath}\bin"
+$env:PATH += ";${erlInstallPath}\bin"
+$env:PATH += ";${elxInstallPath}\bin"
$env:PATH += ";C:\relax\vcpkg\installed\x64-windows\bin"
$env:PATH += ";C:\Program Files (x86)\WiX Toolset v3.11\bin"