mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-01 18:20:14 +00:00
Update build.sh
Fix nameserver timeout error
This commit is contained in:
parent
f09e4f4f9b
commit
c111114d24
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ if [ -z "${OFFLINE+x}" ]; then
|
|||
fi
|
||||
|
||||
echo "Download Artifacts"
|
||||
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_download.log" -x16 -s16 -j5 -c -R -m0 --allow-overwrite=true --conditional-get=true -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
||||
if ! aria2c --no-conf --log-level=info --log="$DOWNLOAD_DIR/aria2_download.log" -x16 -s16 -j5 -c -R -m0 --async-dns=false --allow-overwrite=true --conditional-get=true -d"$DOWNLOAD_DIR" -i"$DOWNLOAD_DIR"/"$DOWNLOAD_CONF_NAME"; then
|
||||
echo "We have encountered an error while downloading files."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue