Closed adnissen closed 7 years ago
Apple doesn't include the last number for the first version of each os, for instance on 10.13 sw_vers produces:
sw_vers
ProductName: Mac OS X ProductVersion: 10.13 BuildVersion: 17A405
This patch safely handles this case.
@spencerdodd
Hey this looks great, thanks for the contribution!
Apple doesn't include the last number for the first version of each os, for instance on 10.13
sw_vers
produces:This patch safely handles this case.
@spencerdodd