device-install/update: fix esptool --port (#6341)

* fix errorlevel check

* add esptool --port if supplied

* match device-install

* add --port if supplied

* update logmessage

* bump version

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Kalle Lilja
2025-03-18 02:16:16 +01:00
committed by GitHub
parent 2876eec7ed
commit 8efc9702d3
4 changed files with 13 additions and 11 deletions

View File

@@ -42,8 +42,8 @@ while [ $# -gt 0 ]; do
exit 0
;;
-p)
ESPTOOL_PORT="$2"
shift # Shift past the option argument
ESPTOOL_CMD="$ESPTOOL_CMD --port $2"
shift
;;
-P)
PYTHON="$2"