Skip to content

Commit

Permalink
ota: add extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 authored May 26, 2023
1 parent 38d992e commit c811c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/Tools/OTA Update.pak/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ BASE_URL="https://github.com/anzz1/DotUI-X/releases/download/$TAG/DotUI-X-$TAG-b
EXTRAS_URL="https://github.com/anzz1/DotUI-X/releases/download/$TAG/DotUI-X-$TAG-extras.zip"
curl --silent -m 600 -L -k -o update-base.zip "$BASE_URL"
test $? -eq 0 && curl --silent -m 600 -L -k -o update-extras.zip "$EXTRAS_URL"
if [ ! -f update-base.zip ] || [ ! -f update-extras.zip ]; then
if [ $? -ne 0 ] || [ ! -f update-base.zip ] || [ ! -f update-extras.zip ]; then
progress quit
wait $PROG_PID
show okay.png
Expand Down

0 comments on commit c811c05

Please sign in to comment.