diff --git a/fetch-libcwtch-go-macos.sh b/fetch-libcwtch-go-macos.sh index 7f198f27..8f1a60f2 100755 --- a/fetch-libcwtch-go-macos.sh +++ b/fetch-libcwtch-go-macos.sh @@ -3,6 +3,6 @@ VERSION=`cat LIBCWTCH-GO-MACOS.version` echo $VERSION -curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.x64.dylib --output libCwtch.x64.dylib -curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm64.dylib --output libCwtch.arm64.dylib +curl --fail https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.x64.dylib --output libCwtch.x64.dylib +curl --fail https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm64.dylib --output libCwtch.arm64.dylib diff --git a/fetch-libcwtch-go.ps1 b/fetch-libcwtch-go.ps1 index d2d3dfcf..78740d7a 100644 --- a/fetch-libcwtch-go.ps1 +++ b/fetch-libcwtch-go.ps1 @@ -1,6 +1,7 @@ $Env:VERSION = type LIBCWTCH-GO.version echo $Env:VERSION +# This should automatically fail on error... Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/libCwtch.dll -OutFile windows/libCwtch.dll #Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/cwtch.aar -OutFile android/cwtch/cwtch.aar diff --git a/fetch-libcwtch-go.sh b/fetch-libcwtch-go.sh index fe331d0b..b515010d 100755 --- a/fetch-libcwtch-go.sh +++ b/fetch-libcwtch-go.sh @@ -3,5 +3,5 @@ VERSION=`cat LIBCWTCH-GO.version` echo $VERSION -wget https://build.openprivacy.ca/files/libCwtch-go-$VERSION/cwtch.aar -O android/cwtch/cwtch.aar -wget https://build.openprivacy.ca/files/libCwtch-go-$VERSION/libCwtch.so -O linux/libCwtch.so +curl --fail https://build.openprivacy.ca/files/libCwtch-go-$VERSION/cwtch.aar --output android/cwtch/cwtch.aar +curl --fail https://build.openprivacy.ca/files/libCwtch-go-$VERSION/libCwtch.so --output linux/libCwtch.so \ No newline at end of file