Open marslojiao-mvl opened 1 year ago
hmm... I've noticed the latest screenfetch-dev
using better solution to show ProductionVesion
and BuildVersion
via
$ sw_vers --productVersion
13.3.1
$ sw_vers --buildVersion
22E772610a
However, the version was cut off. here are pull request: https://github.com/KittyKatt/screenFetch/pull/767
hmm... I've noticed the latest
screenfetch-dev
using better solution to showProductionVesion
andBuildVersion
via$ sw_vers --productVersion 13.3.1 $ sw_vers --buildVersion 22E772610a
However, the version was cut off. here are pull request: #767
The syntax of the sw_vers
command is not quite the same as yours :
$ sw_vers --productVersion
Usage: sw_vers [-productName|-productVersion|-buildVersion]
$ sw_vers -productVersion
12.6.8
$ sw_vers -buildVersion
21G725
I had to modify the script to fit my MacOS.
Below way is more safe:
$ sw_vers | grep -i productversion | awk '{print $2}'
12.6.8
I'm submitting a bug report
Bug report
issue comes from
ProductVersionExtra
insw_ver
details: