Skip to content

Commit be2ef1d

Browse files
committed
v4.0.1
1 parent 471a509 commit be2ef1d

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

cg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616

1717
set -e
1818

19-
# For more information about the cg.jar, please vist the following page:
20-
# https://github.com/excel-code-generator/code-generator
19+
# cg.jar path
2120
CG_PATH=/usr/local/lib/cg/bin/cg.jar
2221
case "`uname`" in MINGW*)
23-
CG_PATH=$0.jar
22+
CG_PATH="`dirname $0`"/cg.jar
2423
esac
2524

2625
# update

cg.bat

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@echo off
12
REM Copyright 2015-2020 yanglb.com
23
REM
34
REM Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,10 +13,7 @@ REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1213
REM See the License for the specific language governing permissions and
1314
REM limitations under the License.
1415

15-
@echo off
16-
17-
REM For more information about the cg.jar, please vist the following page:
18-
REM https://github.com/excel-code-generator/code-generator
16+
REM cg.jar path
1917
set CG_PATH=%APPDATA%\cg\bin\cg.jar
2018

2119
REM update

src/main/java/com/yanglb/codegen/utils/Infos.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
public class Infos {
1919
public static final String Name = "Code Generator";
20-
public static final String Version = "4.0.0";
20+
public static final String Version = "4.0.1";
2121
public static final String Copyright = "Copyright 2015-2020 yanglb.com All Rights Reserved.";
2222
public static final String Author = "me@yanglb.com";
2323
public static final String Website = "https://yanglb.com";

0 commit comments

Comments
 (0)