Commit a9cb5d5 1 parent f55970c commit a9cb5d5 Copy full SHA for a9cb5d5
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ goto :help
231
231
REM when want to use cd to switch to the dir,the codeset need to be set to the utf-8
232
232
REM tested on Windows 10 Enterprise LTSC 2021 and system codeset is 936
233
233
chcp 65001
234
- for /f %%a in ('go list -m -f " {{.Dir}}" github.com/chenjie199234/Corelib') do set corelib=%%a
234
+ for /f %%a in ('go list -m -f {{"\" {{.Dir}}\""}} github.com/chenjie199234/Corelib') do set corelib=%%a
235
235
cd %corelib%
236
236
chcp %current_chcp%
237
237
echo install codegen and protoc plugins in %corelib%
@@ -240,7 +240,7 @@ goto :help
240
240
REM don't known why,in different system codeset the corelib's path will be strange
241
241
REM when want to use protoc to generate code,the codeset need to be set to the system's codeset
242
242
REM tested on Windows 10 Enterprise LTSC 2021 and system codeset is 936
243
- for /f %%a in ('go list -m -f " {{.Dir}}" github.com/chenjie199234/Corelib') do set corelib=%%a
243
+ for /f %%a in ('go list -m -f {{"\" {{.Dir}}\""}} github.com/chenjie199234/Corelib') do set corelib=%%a
244
244
echo generate api in %workdir%
245
245
protoc -I ./ -I %corelib% --go_out=paths=source_relative:. ./api/*.proto
246
246
protoc -I ./ -I %corelib% --go-pbex_out=paths=source_relative:. ./api/*.proto
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "fmt"
4
4
5
5
var major = 0
6
6
var minor = 0
7
- var patch = 82
7
+ var patch = 83
8
8
var status = ""
9
9
10
10
func String () string {
You can’t perform that action at this time.
0 commit comments