#!/bin/bash SYSTEM=`uname -s` RUNTIME_LINUX=ubuntu.16.04-x64 echo "run gen" OUTPATH=../../u2china_svr_proj/ServerComm/protocol ./$RUNTIME_LINUX/protocsstruct ./GameCs.proto ./GameSs.proto --csharp_out=${OUTPATH} OUTPATH=../../u2china_cli_proj/arpg/Assets/Scripts/AIMachine/HotFixLogic/protocol ./$RUNTIME_LINUX/protocsstruct ./GameCs.proto ./GameSs.proto --genclasscfg=./GenClassConfig --namespace=ProtoCSClass --csharp_out=${OUTPATH} -cna rm ${OUTPATH}/*_struct.cs rm ${OUTPATH}/FixedRepeatedStruct.cs rm ${OUTPATH}/GameSs_enum.cs echo "success ***********" python3 ./gen_ServerScriptHotfixCheck.py echo $SYSTEM