Skip to content

Commit 94b9f9e

Browse files
committed
doc(install): remove arch and os from binary artifact
1 parent 5d22fa4 commit 94b9f9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ URL="https://github.com/emilkje/cwc/releases/latest/download/cwc-$OS-$ARCH$EXT"
2626

2727
# Download the correct binary
2828
if command -v wget > /dev/null; then
29-
wget "$URL" -O "cwc-$OS-$ARCH$EXT"
29+
wget "$URL" -O "cwc$EXT"
3030
elif command -v curl > /dev/null; then
31-
curl -L "$URL" -o "cwc-$OS-$ARCH$EXT"
31+
curl -L "$URL" -o "cwc$EXT"
3232
else
3333
echo "Error: Neither wget nor curl is installed."
3434
exit 1
3535
fi
3636

3737
# Make it executable (not necessary for Windows)
3838
if [ "$OS" != "windows" ]; then
39-
chmod +x "cwc-$OS-$ARCH$EXT"
39+
chmod +x "cwc$EXT"
4040
fi
4141

4242
echo "Downloaded cwc for $OS-$ARCH"

0 commit comments

Comments
 (0)