@@ -11,8 +11,8 @@ function package_windows() {
1111 wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.1.0/unor4wifi-reboot-windows.zip -O /tmp/unor4wifi-reboot-windows.zip
1212 unzip /tmp/unor4wifi-reboot-windows.zip -d unor4wifi-update-windows/bin
1313
14- cp update_windows.bat unor4wifi-update-windows/update.bat
15- wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.2.0 /S3.bin -O unor4wifi-update-windows/firmware/UNOR4-WIFI-S3-0.2.0-rc1 .bin
14+ sed s#VVERSION# $VERSION #g update_windows.bat > unor4wifi-update-windows/update.bat
15+ cp ../UNOR4USBBridge/build/esp32-patched.esp32.arduino_unor4wifi_usb_bridge /S3-ALL .bin unor4wifi-update-windows/firmware/UNOR4-WIFI-S3-$VERSION .bin
1616
1717 zip -r unor4wifi-update-windows.zip unor4wifi-update-windows
1818
@@ -29,8 +29,8 @@ function package_linux() {
2929 wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.1.0/unor4wifi-reboot-linux64.zip -O /tmp/unor4wifi-reboot-linux64.zip
3030 unzip /tmp/unor4wifi-reboot-linux64.zip -d unor4wifi-update-linux/bin
3131
32- cp update_linux.sh unor4wifi-update-linux/update.sh
33- wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.2.0 /S3.bin -O unor4wifi-update-linux/firmware/UNOR4-WIFI-S3-0.2.0-rc1 .bin
32+ sed s#VVERSION# $VERSION #g update_linux.sh > unor4wifi-update-linux/update.sh
33+ cp ../UNOR4USBBridge/build/esp32-patched.esp32.arduino_unor4wifi_usb_bridge /S3-ALL .bin unor4wifi-update-linux/firmware/UNOR4-WIFI-S3-$VERSION .bin
3434
3535 zip -r unor4wifi-update-linux.zip unor4wifi-update-linux
3636
@@ -48,13 +48,14 @@ function package_macos() {
4848 wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.1.0/unor4wifi-reboot-macos.zip -O /tmp/unor4wifi-reboot-macos.zip
4949 unzip /tmp/unor4wifi-reboot-macos.zip -d unor4wifi-update-macos/bin
5050
51- cp update_mac.command unor4wifi-update-macos/update.command
52- wget https://github.com/bcmi-labs/uno-r4-wifi-usb-bridge/releases/download/0.2.0 /S3.bin -O unor4wifi-update-macos/firmware/UNOR4-WIFI-S3-0.2.0-rc1 .bin
51+ sed s#VVERSION# $VERSION #g update_mac.command > unor4wifi-update-macos/update.command
52+ cp ../UNOR4USBBridge/build/esp32-patched.esp32.arduino_unor4wifi_usb_bridge /S3-ALL .bin unor4wifi-update-macos/firmware/UNOR4-WIFI-S3-$VERSION .bin
5353
5454 zip -r unor4wifi-update-macos.zip unor4wifi-update-macos
5555
5656}
5757
58+ VERSION=" 4.0.0"
5859
5960# Cleanup before starting
6061rm -rf unor4wifi-update-linux*
0 commit comments