From d7fa8fea8d0c023f520a04283d6d397a5f13bd04 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 18 Jan 2023 07:39:05 -0600 Subject: [PATCH] Update protos path for generator scripts --- bin/regen-protos.bat | 2 +- bin/regen-protos.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/regen-protos.bat b/bin/regen-protos.bat index 5c576c5b..748363d7 100644 --- a/bin/regen-protos.bat +++ b/bin/regen-protos.bat @@ -1 +1 @@ -cd protobufs && ..\nanopb-0.4.7\generator-bin\protoc.exe --nanopb_out=-v:..\src\mesh\generated -I=..\protobufs *.proto +cd protobufs && ..\nanopb-0.4.7\generator-bin\protoc.exe --nanopb_out=-v:..\src\mesh\generated -I=..\protobufs meshtastic\*.proto diff --git a/bin/regen-protos.sh b/bin/regen-protos.sh index 133d587a..df1a3a9d 100755 --- a/bin/regen-protos.sh +++ b/bin/regen-protos.sh @@ -8,7 +8,7 @@ echo "prebuilt binaries for your computer into nanopb-0.4.7" # the nanopb tool seems to require that the .options file be in the current directory! cd protobufs -../nanopb-0.4.7/generator-bin/protoc --nanopb_out=-v:../src/mesh/generated -I=../protobufs *.proto +../nanopb-0.4.7/generator-bin/protoc --nanopb_out=-v:../src/mesh/generated -I=../protobufs meshtastic/*.proto #echo "Regenerating protobuf documentation - if you see an error message" #echo "you can ignore it unless doing a new protobuf release to github."