Commit d6d2dfe 1 parent c829a40 commit d6d2dfe Copy full SHA for d6d2dfe
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ if [ -z "$1" ]; then
6
6
exit 1
7
7
fi
8
8
9
- url=" https://github.com/R2Northstar/NorthstarLauncher/releases/tag /$1 "
9
+ url=" https://github.com/R2Northstar/NorthstarLauncher/releases/download /$1 /northstar-launcher.zip "
10
10
wait_time_seconds=60
11
11
12
12
# Loop until the response code changes
13
13
while true ; do
14
14
response=$( curl --silent --output /dev/null --write-out " %{http_code}" $url )
15
- if [ $response -ne 200 ]; then
16
- echo " Response is not 200 . Retrying in $wait_time_seconds seconds."
15
+ if [ $response -eq 404 ]; then
16
+ echo " Response is 404 . Retrying in $wait_time_seconds seconds."
17
17
sleep $wait_time_seconds
18
18
else
19
19
echo " Site is accessible with response code $response ."
You can’t perform that action at this time.
0 commit comments