Update script

This commit is contained in:
AuroraWright
2025-04-02 07:15:30 +02:00
parent 6dfde19887
commit 9ffaba256f

View File

@@ -7,6 +7,7 @@ fi
PROTO_PATH="$1" PROTO_PATH="$1"
mkdir -p owocr/py_lens mkdir tmp
protoc "--proto_path=$PROTO_PATH" --python_out=owocr/py_lens $PROTO_PATH/*.proto protoc "--proto_path=$PROTO_PATH" --python_betterproto_out=tmp $PROTO_PATH/*.proto
sed -i '' "s/import lens_overlay/import owocr.py_lens.lens_overlay/" py_lens/* mv tmp/lens/__init__.py owocr/lens_betterproto.py
rm -rf tmp