mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-03-21 17:24:51 -05:00
* support iOS 1.x * add comment * reword and fix typo
This commit is contained in:
parent
932042b62c
commit
ba88581ed4
5
neofetch
5
neofetch
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user