File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ if [ ! -f $CG_PATH ];then
1414 exit 1
1515fi
1616
17+ # update
1718do_update () {
18- echo " updatet "
19- curl https://raw.githubusercontent.com/excel-code-generator/code-generator/master/LICENSE| bash
19+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/excel-code-generator/code-generator/master/install.sh) "
2020}
2121
2222if [ " update" = " $1 " ]; then
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ VER=`curl --silent "$BASE_PATH/releases/latest" | sed 's#.*tag/\(.*\)".*#\1#'`
1515echo " Latest version: $VER "
1616
1717# download
18- SH_FILE=" $RAW_PATH /$VER /LICENSE "
18+ SH_FILE=" $RAW_PATH /$VER /cg "
1919JAR_FILE=" $BASE_PATH /releases/download/$VER /cg.jar"
2020
2121download_file () {
You can’t perform that action at this time.
0 commit comments