From c6a7f27d9ba31e0ac71c2fe2522485c4b089aeb6 Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Sat, 9 Aug 2025 11:06:14 +0200 Subject: [PATCH 1/2] Use gunzip in installation --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1f4b55a..d207442 100755 --- a/install.sh +++ b/install.sh @@ -51,9 +51,10 @@ fi # Download the binary -DOWNLOAD_URL="https://github.com/$REPO_BASE/releases/download/$TAG_NAME/$BINARY_NAME$ARCH_NAME" +DOWNLOAD_URL="https://github.com/$REPO_BASE/releases/download/$TAG_NAME/$BINARY_NAME$ARCH_NAME.gz" echo "Downloading $BINARY_NAME from $DOWNLOAD_URL" -curl -L "$DOWNLOAD_URL" -o "$INSTALL_DIR/jelly-cli" +curl -L "$DOWNLOAD_URL" -o "$INSTALL_DIR/jelly-cli.gz" +gzip -d "$INSTALL_DIR/jelly-cli.gz" CONTENT=$(wc -c "$INSTALL_DIR/jelly-cli" | awk '{print $1}') if [ $CONTENT -lt 500 ]; then echo "Error: Failed to download the binary from $DOWNLOAD_URL" From 2efe5bf5a930b815100b0d4d8ce7a28d84a31287 Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Sat, 9 Aug 2025 11:13:56 +0200 Subject: [PATCH 2/2] Correct one detail --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d207442..d002d97 100755 --- a/install.sh +++ b/install.sh @@ -84,5 +84,4 @@ else exit 1 fi -jelly-cli completions install > /dev/null -eval "$(jelly-cli completions install --env)" \ No newline at end of file +jelly-cli completions install \ No newline at end of file