File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ var rootCmd = &cobra.Command{
1010 Long : `An easy and robust software development environment
1111tool helping you from project creation until deployment.
1212Complete 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
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ -z "$DOWNLOAD_URL" ]; then
1010fi
1111
1212DEFAULT_BIN=" /usr/local/bin/kool"
13- if [ -z " $DOWNLOAD_URL " ]; then
13+ if [ -z " $BIN_PATH " ]; then
1414 BIN_PATH=$DEFAULT_BIN
1515fi
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
You can’t perform that action at this time.
0 commit comments