Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down