Skip to content

Commit

Permalink
Add download URL log message in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Dec 30, 2024
1 parent c93a3a9 commit 2e26c7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions macos/build-macos.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cp $(which gephgui-wry) build.app/Contents/MacOS/bin
echo "Downloading geph4-client for macOS..."
while true; do
# Perform the curl request and capture the HTTP status
echo "Downloading https://f001.backblazeb2.com/file/geph-dl/geph4-binaries/$(cat ../blobs/linux-x64/VERSION)/geph4-client-macos-universal)"
HTTP_STATUS=$(curl -w "%{http_code}" -o build.app/Contents/MacOS/bin/geph4-client -s https://f001.backblazeb2.com/file/geph-dl/geph4-binaries/$(cat ../blobs/linux-x64/VERSION)/geph4-client-macos-universal)

if [ "$HTTP_STATUS" -eq 200 ]; then
Expand Down

0 comments on commit 2e26c7a

Please sign in to comment.