Support iOS 1.x (#444)
Some checks failed
Shellcheck / check (push) Has been cancelled

* support iOS 1.x

* add comment

* reword and fix typo
This commit is contained in:
Un1q32 2025-10-13 03:24:39 -04:00 committed by GitHub
parent 932042b62c
commit ba88581ed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6396,6 +6396,11 @@ cache_uname() {
ProductVersion) osx_version=${sw_vers[i+1]} ;;
ProductBuildVersion) osx_build=${sw_vers[i+1]} ;;
esac
# before iOS 2, iOS didn't internally distinguish between itself and macOS,
# so we manually set the OS type if the version is 1.x
case $osx_version in
1.*) darwin_name="iPhone OS" ;;
esac
}
fi
}