cd ~/Downloads && curl -f --noproxy '*' -o swagbot_v1.merged.bin https://codey-device.jialeli.cloud/download/swagbot.bin && SZ=$(stat -f%z swagbot_v1.merged.bin) && echo "downloaded $SZ bytes (expect 1291952)" && [ "$SZ" -eq 1291952 ] && python3 -m esptool --chip esp32s3 --port $(ls /dev/cu.usbserial* | head -1) --baud 460800 write-flash 0x0 swagbot_v1.merged.bin