Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (7 sloc) 243 Bytes
#! /usr/bin/python
import glob
from Foundation import *
plistFile = glob.glob('build/Release/*.app/Contents/Info.plist')[0]
key = 'CFBundleShortVersionString'
d = NSMutableDictionary.dictionaryWithContentsOfFile_( plistFile )
print d[key]