We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30590d0 commit af93be7Copy full SHA for af93be7
pfetch
@@ -379,8 +379,10 @@ get_os() {
379
380
# Use the ProductVersion to determine which macOS/OS X codename
381
# the system has. As far as I'm aware there's no "dynamic" way
382
- # of grabbing this information.
+ # of grabbing this information. iOS 1 is here because iOS didn't
383
+ # internally differatiate itself from OS X before 2.0
384
case $mac_version in
385
+ (1.*) distro="iOS $mac_version" ;;
386
(10.4*) distro="Mac OS X $mac_version Tiger" ;;
387
(10.5*) distro="Mac OS X $mac_version Leopard" ;;
388
(10.6*) distro="Mac OS X $mac_version Snow Leopard" ;;
0 commit comments