Skip to content

Instantly share code, notes, and snippets.

@dkf2010
dkf2010 / getosversionfromdmg.py
Created October 2, 2016 08:39 — forked from rtrouton/getosversionfromdmg.py
Get OS X version from DMG
#!/usr/bin/python
#
# getosversionfromdmg.py
#
# Copyright (c) 2014 The Regents of the University of Michigan
#
# Retrieves the OS version and build from the InstallESD.dmg contained in
# a typical "Install (Mac) OS X <Name>.app" bundle.
#
# To run:
.gem
.npm
cgi-bin
fcgi-bin
html
lib
man
share
tmp
**/node_modules