We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9461fc7 commit 15711dcCopy full SHA for 15711dc
1 file changed
install-cli.sh
@@ -62,7 +62,11 @@ fi
62
63
# --- Download and Extract ---
64
# The download is a .tar.gz file which needs to be extracted
65
-URL="https://github.com/kosli-dev/cli/releases/download/${VERSION}/kosli_${VERSION_FILENAME}_${CLI_OS}_${ARCH}.tar.gz"
+if [ "$CLI_OS" = "windows" ]; then
66
+ URL="https://github.com/kosli-dev/cli/releases/download/${VERSION}/kosli_${VERSION_FILENAME}_${CLI_OS}_${ARCH}.zip"
67
+else
68
+ URL="https://github.com/kosli-dev/cli/releases/download/${VERSION}/kosli_${VERSION_FILENAME}_${CLI_OS}_${ARCH}.tar.gz"
69
+fi
70
echo "Downloading from: $URL"
71
72
# Download and extract in one go
0 commit comments