v.0.1.1 only cp json file from restapi dir

This commit is contained in:
tiijay
2025-10-20 18:20:17 +02:00
parent fb418e8bd9
commit 99d9e753f0

View File

@@ -10,7 +10,8 @@ end
echo "1. Copying app directory to device..."
mpremote connect port:rfc2217://localhost:4000 cp -r app :
mpremote connect port:rfc2217://localhost:4000 cp -r restapi :
mpremote connect port:rfc2217://localhost:4000 mkdir restapi
mpremote connect port:rfc2217://localhost:4000 cp restapi/*.json :restapi/
echo "2. Starting main.py..."
mpremote connect port:rfc2217://localhost:4000 run main.py