We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d3d09 commit bf931fdCopy full SHA for bf931fd
2 files changed
cg
100644
100755
@@ -14,9 +14,9 @@ if [ ! -f $CG_PATH ];then
14
exit 1
15
fi
16
17
+# update
18
do_update () {
- echo "updatet "
19
- curl https://raw.githubusercontent.com/excel-code-generator/code-generator/master/LICENSE|bash
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/excel-code-generator/code-generator/master/install.sh)"
20
}
21
22
if [ "update" = "$1" ];then
install.sh
@@ -15,7 +15,7 @@ VER=`curl --silent "$BASE_PATH/releases/latest" | sed 's#.*tag/\(.*\)".*#\1#'`
echo "Latest version: $VER"
# download
-SH_FILE="$RAW_PATH/$VER/LICENSE"
+SH_FILE="$RAW_PATH/$VER/cg"
JAR_FILE="$BASE_PATH/releases/download/$VER/cg.jar"
download_file() {
0 commit comments