set PROTO_DIR=D:\b22_proto set OUTPUT_DIR=D:\b22_client\assets\script\proto call git --git-dir=%PROTO_DIR%\.git --work-tree=%PROTO_DIR% pull call node_modules\.bin\pbjs -t static-module -w es6 -o .\assets\script\proto\protores.js %PROTO_DIR%\*.proto call protoc -I D:\b22_proto --plugin=protoc-gen-ts_proto=.\\node_modules\\.bin\\protoc-gen-ts_proto.cmd --ts_proto_out=%OUTPUT_DIR% game.proto msg_cmd.proto typedef.proto --ts_proto_opt=outputEncodeMethods=false pause