Skip to content

Commit 0226fc4

Browse files
committed
version 1.0.8
1 parent 0a3eb9c commit 0226fc4

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Have the same feeling working on multiple projects with different stacks.
66

77
## Installation
88

9-
One Liner
9+
```bash
10+
sh -c "$(curl -fsSL https://raw.githubusercontent.com/kool-dev/kool/master/install.sh)"
11+
```
1012

1113
## Usage
1214

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var rootCmd = &cobra.Command{
1010
Long: `An easy and robust software development environment
1111
tool helping you from project creation until deployment.
1212
Complete documentation is available at https://kool.dev`,
13-
Version: "1.0.7",
13+
Version: "1.0.8",
1414
}
1515

1616
// Execute proxies the call to cobra root command

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ -z "$DOWNLOAD_URL" ]; then
1010
fi
1111

1212
DEFAULT_BIN="/usr/local/bin/kool"
13-
if [ -z "$DOWNLOAD_URL" ]; then
13+
if [ -z "$BIN_PATH" ]; then
1414
BIN_PATH=$DEFAULT_BIN
1515
fi
1616

@@ -43,7 +43,8 @@ do_install () {
4343
# PLAT="wsl"
4444
fi
4545

46-
wget -O $BIN_PATH "$DOWNLOAD_URL/kool-$PLAT-$ARCH"
46+
# wget -O $BIN_PATH "$DOWNLOAD_URL/kool-$PLAT-$ARCH"
47+
curl -fsSL "$DOWNLOAD_URL/kool-$PLAT-$ARCH" -o $BIN_PATH
4748
chmod +x $BIN_PATH
4849
}
4950

0 commit comments

Comments
 (0)