Skip to content

Commit

Permalink
Update build-zip.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Dec 23, 2023
1 parent 3030bbd commit 0379749
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ then
boot_file="bootloader-tasmota-c3.bin"
boot_file_addr=0
partition_file="C3_8MB_partition-table.bin"
fi
else
if [[ $4 -eq 2 ]]
then
platform="esp32c3"
Expand All @@ -39,6 +39,7 @@ else
boot_file_addr=4096
partition_file="partition-table.bin"
fi
fi

#General:
otadata_file="otadata.bin"
Expand Down Expand Up @@ -108,7 +109,7 @@ printf "\nDone mgos32-to-tasmota32-$shelly_device.zip\n\n"
}
ShellyMiniG3=( Mini1PMG3 Mini1G3 )
ShellyMiniG3=( Mini1PMG3 Mini1G3 MiniPMG3 )
for i in "${ShellyMiniG3[@]}"
do
generatezip $i "tasmota32c3.bin" "fs-8MB-tasmota-C3.img" 3
Expand Down

0 comments on commit 0379749

Please sign in to comment.