All Projects β†’ jonelo β†’ osxapp_vers

jonelo / osxapp_vers

Licence: Apache-2.0 license
Get product name, exact product version and build version from an Apple Install [Mac OS X|OS X|macOS]*.app or from a mounted Mac OS X Install CD/DVD image

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to osxapp vers

Dell-E7250-Hackintosh
Fully working Hackintosh on E7250
Stars: ✭ 51 (+325%)
Mutual labels:  macos-mojave, macos-catalina, macos-big-sur
brewfile
🍎 Brewfile to install softwares in macOS for engineers
Stars: ✭ 37 (+208.33%)
Mutual labels:  apple, osx, macosx
Syncthing Macos
Frugal and native macOS Syncthing application bundle
Stars: ✭ 1,096 (+9033.33%)
Mutual labels:  apple, osx, macosx
Musaicfm
Screensaver inspired by Apple’s inbuilt iTunes Screensaver. It can display Artwork by Spotify or last.fm Profile Data.
Stars: ✭ 144 (+1100%)
Mutual labels:  apple, osx
Neptunes
simple and reliable Last.fm scrobbler for iTunes and Spotify for macOS
Stars: ✭ 98 (+716.67%)
Mutual labels:  apple, osx
Awesome Mac
ο£Ώ Now we have become very big, Different from the original idea. Collect premium software in various categories.
Stars: ✭ 46,674 (+388850%)
Mutual labels:  apple, macosx
Beagle Im
XMPP client for macOS based on TigaseSwift XMPP library
Stars: ✭ 86 (+616.67%)
Mutual labels:  apple, osx
MinaOTP-MAC
Two-factor authentication tray app in macOS
Stars: ✭ 51 (+325%)
Mutual labels:  macosx, macos-app
Ultratabsaver
The open source Tab Manager Extension for Safari.
Stars: ✭ 178 (+1383.33%)
Mutual labels:  apple, macosx
MacOS-Developers-Excuses
A macOS screen saver that shows a random developer excuse over a beautiful photo background. Made with ❀
Stars: ✭ 53 (+341.67%)
Mutual labels:  osx, macosx
Mojave-Dynamic-Wallpaper
Automatic Changing Mojave Wallpaper
Stars: ✭ 15 (+25%)
Mutual labels:  apple, macosx
Xchain
A cross compiler toolchain targeting macOS/iOS/etc.
Stars: ✭ 95 (+691.67%)
Mutual labels:  apple, macosx
Jaromail
A commandline tool to easily and privately handle your e-mail
Stars: ✭ 86 (+616.67%)
Mutual labels:  apple, osx
Aquatouch
Dynamic Custom Macros for your MacBook TouchBar! (Supports 40+ Apps and Websites)
Stars: ✭ 125 (+941.67%)
Mutual labels:  apple, macosx
Night Shift On Unsupported Macs
Enable Night Shift on older Unsupported Macs
Stars: ✭ 86 (+616.67%)
Mutual labels:  apple, macosx
Doesitarm
🦾 A list of reported app support for Apple Silicon and the new Apple M1 Macs
Stars: ✭ 3,200 (+26566.67%)
Mutual labels:  apple, macos-big-sur
t440p-oc
πŸ’» Lenovo ThinkPad T440p Hackintosh (Big Sur, Monterey & Ventura Beta) - OpenCore
Stars: ✭ 96 (+700%)
Mutual labels:  macos-catalina, macos-big-sur
onepile
Playground for the future of private notes and document management
Stars: ✭ 41 (+241.67%)
Mutual labels:  apple, osx
Nord Xcode
An arctic, north-bluish clean and elegant Xcode color theme.
Stars: ✭ 63 (+425%)
Mutual labels:  apple, osx
Zcash Apple
Zcash for Apple platforms
Stars: ✭ 75 (+525%)
Mutual labels:  apple, osx

osxapp_vers

What the project is for

The script called osxapp_vers finds the product name, the complete product version and build version in a Install*OS X*.app package, in a Install macOS*.app package or in a mounted CD/DVD image called Mac OS X Install * and prints the info out like the macOS' /usr/bin/sw_vers does for an installed macOS product.

The idea for this has been described at my blog.

What are the system requirements

  • At least Mac OS X 10.6.8 (Snow Leopard) in order to run the bash script, older releases haven't been tested.

What are the input requirements

  • Install macOS Monterey.app, Install macOS Big Sur.app, Install macOS Catalina.app, Install macOS Mojave.app, Install macOS High Sierra.app, Install macOS Sierra.app, Install OS X El Capitan.app, Install OS X Yosemite.app, Install OS X Mavericks.app, Install OS X Mountain Lion.app, or Install Mac OS X Lion.app from the Apple App Store (1st public version or any update release) or on a bootable macOS install media that has been created by Apple's createinstallmedia
  • Alternatively, a mounted Mac OS X Install CD/DVD image such as Mac OS X Install DVD, Mac OS X Install CD or Mac OS X Install Disk

See also "How to create a bootable installer for macOS?" at https://support.apple.com/en-us/HT201372

How to configure and install it

Download the osxapp_vers file from GitHub to a folder of your choice and set execute permissions.

$ chmod +x ./osxapp_vers

In order to bypass a check that prevents the script from investigating an unknown macOS release, you can set the NOCHECK environment variable.

$ export NOCHECK=1

In order to see details from the mount actions and additional messages, you can enable debug output by exporting the DEBUG environment variable. Usually there is no need to do that.

$ export DEBUG=/dev/stdout

If you want to disable debug mode, enter

$ export DEBUG=

How to run it without installing it

curl -Ls https://bit.ly/osxapp_vers | bash

Examples of how to use it or get it running

By default, if you don't specify any program parameters, the script reads all Install*OS X*.app, and Install macOS X*.app known to Spotlight and all /Volumes/Mac OS X Install * and prints out product name, product version and build version for each macOS that those installers are loaded with.

Example output from runs without any program parameters:

/Volumes/Mac OS X Install DVD:
ProductName:    Mac OS X
ProductVersion: 10.5
BuildVersion:   9A581

/Applications/Install Mac OS X Lion.app:
ProductName:    Mac OS X
ProductVersion: 10.7.5
BuildVersion:   11G63

/Applications/Install OS X Mountain Lion.app:
ProductName:    Mac OS X
ProductVersion: 10.8.5
BuildVersion:   12F45

/Applications/Install OS X Mavericks.app:
ProductName:    Mac OS X
ProductVersion: 10.9.4
BuildVersion:   13E28

/Applications/Install OS X Yosemite.app:
ProductName:    Mac OS X
ProductVersion: 10.10.2
BuildVersion:   14C109

/Applications/Install OS X El Capitan.app:
ProductName:    Mac OS X
ProductVersion:	10.11.5
BuildVersion:   15F34

/Applications/Install macOS Sierra.app:
ProductName:    Mac OS X
ProductVersion:	10.12
BuildVersion:   16A323

/Applications/Install macOS High Sierra.app:
ProductName:	Mac OS X
ProductVersion:	10.13
BuildVersion:	17A365

/Applications/Install macOS Mojave.app:
ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A391

/Applications/Install macOS Catalina.app:
ProductName:	Mac OS X
ProductVersion:	10.15
BuildVersion:	19A583

/Applications/Install macOS Big Sur.app:
ProductName:	macOS
ProductVersion:	11.1
BuildVersion:	20C69

/Applications/Install macOS Monterey.app:
ProductName:	macOS
ProductVersion:	12.0.1
BuildVersion:	21A559

If you specify program parameters, the script prints out product name, product version and build version for each Install OS X .app folder that you have specified.

$ ./osxapp_vers '/Applications/Install OS X Mavericks.app'

/Applications/Install OS X Mavericks.app:
ProductName:    Mac OS X
ProductVersion: 10.9.4
BuildVersion:   13E28

If you have created a bootable macOS install media with createinstallmedia (that command line tool is provided by Apple as part of the OS X installer starting with Mavericks), you could also find out the version of macOS version that is on the install media by specifying the path to the .app folder.

./osxapp_vers '/Volumes/Install OS X Mavericks/Install OS X Mavericks.app/'

/Volumes/Install OS X Mavericks/Install OS X Mavericks.app/:
ProductName:    Mac OS X
ProductVersion: 10.9.2
BuildVersion:   13C64

The license

The license that the project is offered under is the Apache 2.0 license.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].