Support iOS 1.x (#444)
* support iOS 1.x * add comment * reword and fix typo
This commit is contained in:
parent
932042b62c
commit
ba88581ed4
1 changed files with 5 additions and 0 deletions
5
neofetch
5
neofetch
|
|
@ -6396,6 +6396,11 @@ cache_uname() {
|
||||||
ProductVersion) osx_version=${sw_vers[i+1]} ;;
|
ProductVersion) osx_version=${sw_vers[i+1]} ;;
|
||||||
ProductBuildVersion) osx_build=${sw_vers[i+1]} ;;
|
ProductBuildVersion) osx_build=${sw_vers[i+1]} ;;
|
||||||
esac
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue