diff --git a/config.hcl b/config.hcl index d3afd3a..a5dccde 100644 --- a/config.hcl +++ b/config.hcl @@ -1,7 +1,7 @@ base_dir="~/.packageless/" start_port=3000 port_increment=1 -alias=true +alias=false repository_host="https://raw.githubusercontent.com/everettraven/packageless-pims/main/pims/" pims_config_dir="pims_config/" pims_dir = "pims/" \ No newline at end of file diff --git a/unixInstaller.sh b/unixInstaller.sh index 55b7281..fbd84f5 100644 --- a/unixInstaller.sh +++ b/unixInstaller.sh @@ -24,5 +24,8 @@ else curl -L -o ~/bin/packageless https://github.com/everettraven/packageless/releases/latest/download/packageless-linux fi +echo "Downloading packageless configuration file" +curl -L -o ~/.packageless/config.hcl https://github.com/everettraven/packageless/releases/latest/download/config.hcl + echo "Adding packageless to PATH by adding to: ~/."$shell"rc" echo "export PATH=\$PATH:~/bin/packageless" >> $HOME"/."$shell"rc" \ No newline at end of file diff --git a/windowsInstaller.ps1 b/windowsInstaller.ps1 index 11459fd..bb665f4 100644 --- a/windowsInstaller.ps1 +++ b/windowsInstaller.ps1 @@ -14,6 +14,10 @@ Write-Output "Downloading the executable" Invoke-WebRequest https://github.com/everettraven/packageless/releases/latest/download/packageless-windows -OutFile $HOME\bin\packageless.exe +Write-Output "Downloading packageless configuration file" + +Invoke-WebRequest https://github.com/everettraven/packageless/releases/latest/download/config.hcl -OutFile $HOME\.packageless\config.hcl + Write-Output "Adding packageless to PATH" setx PATH "%PATH%;$HOME\bin\packageless" \ No newline at end of file