Skip to content

Commit

Permalink
fix(installer): wsl hangs on update (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
aby913 authored Jan 22, 2025
1 parent f72e4b9 commit d95c577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build/installer/install.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$env:WSL_UTF8 = 1
$OutputEncoding = [System.Text.Encoding]::UTF8
$currentPath = Get-Location
$architecture = $env:PROCESSOR_ARCHITECTURE
$downloadCdnUrlFromEnv = $env:DOWNLOAD_CDN_URL
Expand Down Expand Up @@ -50,7 +48,7 @@ if (-Not (Test-Path $CLI_PROGRAM_PATH)) {
New-Item -Path $CLI_PROGRAM_PATH -ItemType Directory
}

$CLI_VERSION = "0.2.6"
$CLI_VERSION = "0.2.7"
$CLI_FILE = "olares-cli-v{0}_windows_{1}.tar.gz" -f $CLI_VERSION, $arch
$CLI_URL = "{0}/{1}" -f $downloadUrl, $CLI_FILE
$CLI_PATH = "{0}{1}" -f $CLI_PROGRAM_PATH, $CLI_FILE
Expand Down
2 changes: 1 addition & 1 deletion build/installer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [ -z ${cdn_url} ]; then
cdn_url="https://dc3p1870nn3cj.cloudfront.net"
fi

CLI_VERSION="0.2.6"
CLI_VERSION="0.2.7"
CLI_FILE="olares-cli-v${CLI_VERSION}_linux_${ARCH}.tar.gz"
if [[ x"$os_type" == x"Darwin" ]]; then
CLI_FILE="olares-cli-v${CLI_VERSION}_darwin_${ARCH}.tar.gz"
Expand Down

0 comments on commit d95c577

Please sign in to comment.