Switch to Apple for Internet check (#339)

This commit is contained in:
Sheep Sun 2023-10-27 21:00:57 +08:00 committed by GitHub
parent b14db3a7f9
commit b451fc4a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4584,7 +4584,7 @@ main() {
set_tool_paths
log "Checking Internet connection..."
$ping google.com >/dev/null
$ping www.apple.com >/dev/null
if [[ $? != 0 ]]; then
$ping 208.67.222.222 >/dev/null
if [[ $? != 0 ]]; then