Created
January 15, 2013 08:05
-
-
Save taonico/4537106 to your computer and use it in GitHub Desktop.
moeclock make Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import plistlib | |
class info: | |
21def __init__ (self): | |
self.infodata = {'CFBundleShortVersionString': '1.0.0', | |
'CFBundleSignature': 'SHEL', | |
'CFBundleInfoDictionaryVersion': '6.0', | |
'CFBundleIconFile': 'moeclock.icns', | |
'CFBundleAllowMixedLocalizations': 'true', | |
'CFBundleExecutable': 'moeclock.sh', | |
'CFBundleDevelopmentRegion': 'Japanese', | |
'CFBundleName': 'moeclock', | |
'CFBundleVersion': '1.0', | |
'CFBundlePackageType': 'APPL'} | |
if __name__ == '__main__': | |
#lists = plistlib.readPlist(sys.argv[1]) | |
plistlib.writePlist(info().infodata, sys.argv[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment