diff --git a/neofetch b/neofetch index 6a0db2b2..937d8460 100755 --- a/neofetch +++ b/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 }