diff --git a/install.bat b/install.bat index 6f606f4..350ff54 100644 --- a/install.bat +++ b/install.bat @@ -22,11 +22,11 @@ echo That's not an option. Exiting... goto end :install -PowerShell -NoProfile -ExecutionPolicy Bypass -Command "$installerUrl='https://raw.githubusercontent.com/pairspaces/install/main/install.ps1'; $installerPath=$env:TEMP + '\install.ps1'; Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath; & $installerPath" +PowerShell -NoProfile -ExecutionPolicy Bypass -Command "$installerUrl='https://raw.githubusercontent.com/pairspaces/install/build/install.ps1'; $installerPath=$env:TEMP + '\install.ps1'; Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath; & $installerPath" goto end :uninstall -PowerShell -NoProfile -ExecutionPolicy Bypass -Command "$installerUrl='https://raw.githubusercontent.com/pairspaces/install/main/install.ps1'; $installerPath=$env:TEMP + '\install.ps1'; Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath; & $installerPath -Uninstall" +PowerShell -NoProfile -ExecutionPolicy Bypass -Command "$installerUrl='https://raw.githubusercontent.com/pairspaces/install/build/install.ps1'; $installerPath=$env:TEMP + '\install.ps1'; Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath; & $installerPath -Uninstall" goto end :end diff --git a/install.ps1 b/install.ps1 index 72a1ef1..95b23a5 100644 --- a/install.ps1 +++ b/install.ps1 @@ -12,7 +12,7 @@ $ErrorActionPreference = "Stop" $name = "pair" $binary = "$name.exe" -$envName = "latest" +$envName = "build" $baseUrl = "https://downloads.pairspaces.com/$envName" $installDir = Join-Path $env:LOCALAPPDATA $name $destBin = "$installDir\$binary" diff --git a/install.sh b/install.sh index 85c49d6..b23f6f6 100644 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ set -euo pipefail # ============================================================================= NAME="pair" -ENV="latest" +ENV="build" BASE_URL="https://downloads.pairspaces.com/$ENV" INSTALL_DIR="/usr/local/bin" VERIFY_BINARY="${VERIFY_BINARY:-false}"