Fix script
This commit is contained in:
parent
5dd6c73e11
commit
edd819c996
9 changed files with 8 additions and 7 deletions
Binary file not shown.
|
@ -1 +1 @@
|
|||
7591be2053729db1633347b171a216293eb59203921bbc08bcdb825475cfca12
|
||||
5b81a8f8a0e6eed231e7cfd18e7b918752ddbce490f793d212317856a7cbc37a
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
7f3074692ca1e5144107770605bbbb407f719097a0bc9f798e2f1392f0312b13
|
||||
83985a18c78d540f7eafc3a20d730dc83212fc1d127cf85614678b3ab09cbcc7
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
5cdbc264204322021c6ed79f9b2d39f7c4108cdb787af682a2fa0d200923a27c
|
||||
5df730e376dfaac32c502cfd61ede064d614ad85e634b18dcf42e1632cdfef26
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
937865e4a8b782e8948ee2948a6e2cb6d86e481ee7e9aeb315ba242d4d56c9ba
|
||||
697e1b74d33fb2fbe89ecca4e9a8990f56247ce40ce04e117479e686c2834ce9
|
||||
|
|
|
@ -31,26 +31,27 @@ download_board_files() {
|
|||
|
||||
for file in "${files[@]}"; do
|
||||
url=$(echo $release_data | jq -r ".assets[] | select(.name==\"$file\") | .browser_download_url")
|
||||
echo "Downloading $url to $dir/$file"
|
||||
curl -sL -o "$dir/$file" $url
|
||||
done
|
||||
}
|
||||
|
||||
# Download btclock_rev_b_213epd files
|
||||
download_board_files "btclock_rev_b_213epd" "firmware_v3/build-btclock_rev_b_213epd" \
|
||||
download_board_files "btclock_rev_b_213epd" "firmware_v3/build-btclock_rev_b-213epd" \
|
||||
"btclock_rev_b_213epd.bin" \
|
||||
"btclock_rev_b_213epd.bin.sha256" \
|
||||
"btclock_rev_b_213epd_firmware.bin" \
|
||||
"btclock_rev_b_213epd_firmware.bin.sha256"
|
||||
|
||||
# Download lolin_s3_mini_29epd files
|
||||
download_board_files "lolin_s3_mini_29epd" "firmware_v3/build-lolin_s3_mini_29epd" \
|
||||
download_board_files "lolin_s3_mini_29epd" "firmware_v3/build-lolin_s3_mini-29epd" \
|
||||
"lolin_s3_mini_29epd.bin" \
|
||||
"lolin_s3_mini_29epd.bin.sha256" \
|
||||
"lolin_s3_mini_29epd_firmware.bin" \
|
||||
"lolin_s3_mini_29epd_firmware.bin.sha256"
|
||||
|
||||
# Download lolin_s3_mini_213epd files
|
||||
download_board_files "lolin_s3_mini_213epd" "firmware_v3/build-lolin_s3_mini_213epd" \
|
||||
download_board_files "lolin_s3_mini_213epd" "firmware_v3/build-lolin_s3_mini-213epd" \
|
||||
"lolin_s3_mini_213epd.bin" \
|
||||
"lolin_s3_mini_213epd.bin.sha256" \
|
||||
"lolin_s3_mini_213epd_firmware.bin" \
|
||||
|
|
Loading…
Reference in a new issue