1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #4463

Alice Weigt (1):
      fix(bootstrap): qrencode url
This commit is contained in:
Zetok Zalbavar 2017-06-16 11:47:55 +01:00
commit b40733b62f
No known key found for this signature in database
GPG Key ID: C953D3880212068A

21
windows/bootstrap.sh Normal file → Executable file
View File

@ -8,9 +8,9 @@ if [ -d $QTOX_DIR/libs ]; then
if [ "$yn" == "a" ]; then
rm -rf $QTOX_DIR/libs
elif [ "$yn" == "n" ]; then
exit -1
exit 1
elif [ "$yn" != "m" ]; then
exit -1
exit 1
fi
fi
@ -31,7 +31,22 @@ fi
## qrencode
if [ ! -f "qrencode-3.4.4.tar.gz" ]; then
wget http://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
wget https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
fi
if [ ! -f "qrencode-3.4.4.tar.gz" ]; then
echo "Warning: Failed to download libqrencode."
echo "Warning: This is usually due to https certificate issues."
echo
echo "Would you like to continue without verifying the certificate?"
read -p "(yes/No) y/N: " input
input=$(echo $input | tr "[:upper:]" "[:lower:]")
if [ "${input%es}" == y ]; then
wget --no-check-certificate https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
else
echo "Error: Could not download libqrencode."
exit 1
fi
fi
if [ ! -d "$QTOX_DIR/libs/qrencode-3.4.4" ]; then