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:

Keybase proof

I hereby claim:

  • I am dkf2010 on github.
  • I am dkf2010 (https://keybase.io/dkf2010) on keybase.
  • I have a public key whose fingerprint is DDE6 E726 67E9 C88A D1FC 9E5D 4D94 800E 15FD 2A1F

To claim this, I am signing this object:

.gem
.npm
cgi-bin
fcgi-bin
html
lib
man
share
tmp
**/node_modules