Skip to content

Commit

Permalink
v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Jul 26, 2023
1 parent 69dc6f5 commit b73938c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ BINARY_FILE="n"

if [ "$OS" = "Darwin" ]; then
if [ "$ARCH" = "x86_64" ]; then
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.3/x86_64-apple-darwin.tar.gz"
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.4/x86_64-apple-darwin.tar.gz"
INSTALL_DIR="/usr/local/bin"
elif [ "$ARCH" = "arm64" ]; then
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.3/aarch64-apple-darwin.tar.gz"
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.4/aarch64-apple-darwin.tar.gz"
INSTALL_DIR="$HOME/.local/bin"
fi
elif [ "$OS" = "Linux" ]; then
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.3/x86_64-unknown-linux-musl.tar.gz"
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.4/x86_64-unknown-linux-musl.tar.gz"
INSTALL_DIR="$HOME/.local/bin"
elif [ "$OS" = "MINGW*" ]; then
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.3/x86_64-pc-windows-gnu.tar.gz"
BINARY_URL="https://github.com/sheinsight/ni/releases/download/v0.0.4/x86_64-pc-windows-gnu.tar.gz"
INSTALL_DIR="$HOME/.local/bin"
else
echo "Your OS is not supported." >&2
Expand Down

0 comments on commit b73938c

Please sign in to comment.