Skip to content

Commit 06eb7eb

Browse files
committed
windows bash 下使用window安装好的cg.jar
1 parent b3284da commit 06eb7eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ set -e
44

55
# For more information about the cg.jar, please vist the following page:
66
# https://github.com/excel-code-generator/code-generator
7-
CG_PATH=$HOME/.cg/bin/cg.jar
7+
CG_PATH=/usr/local/lib/cg/bin/cg.jar
8+
case "`uname`" in MINGW*)
9+
CG_PATH=$0.jar
10+
esac
811

912
# update
1013
do_update () {

0 commit comments

Comments
 (0)