Skip to content

Commit 6cb95da

Browse files
committed
Add wait for curl
1 parent 3e11a72 commit 6cb95da

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: rustdesk_latest.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ REPO="rustdesk/rustdesk"
99
API_URL="https://api.github.com/repos/$REPO/releases/latest"
1010
# Fetch the release data for the specified tag using curl
1111
RELEASE_DATA=$(curl --retry 12 --retry-all-errors -s "$API_URL")
12+
wait
1213

1314
# Check if RELEASE_DATA contains "browser_download_url"
1415
if ! echo "$RELEASE_DATA" | grep -q "browser_download_url"; then

Diff for: rustdesk_nightly.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ API_URL="https://api.github.com/repos/$REPO/releases/tags/$TAG"
99
#API_URL="https://api.github.com/repos/$REPO/releases/latest"
1010
# Fetch the release data for the specified tag using curl
1111
RELEASE_DATA=$(curl --retry 12 --retry-all-errors -s "$API_URL")
12+
wait
1213

1314
# Check if RELEASE_DATA contains "browser_download_url"
1415
if ! echo "$RELEASE_DATA" | grep -q "browser_download_url"; then

0 commit comments

Comments
 (0)