modified resource packager to create the modrules.xml file for iOS port

updated app delegate to download both the core and core_ios file.  Still have the version number hard coded into the app.
This commit is contained in:
techdragon.nguyen@gmail.com
2012-01-19 03:38:07 +00:00
parent 2af19e7c73
commit 8dd5fe535e
3 changed files with 71 additions and 12 deletions

View File

@@ -33,8 +33,8 @@ def createStandardResFile():
def createIosResFile():
print 'Preparing Resource Package for iOS'
utilities = ZipUtilities()
filename = 'core_017_iOS.zip'
createResZipFile( filename )
filename = 'core_0171_iOS.zip'
#createResZipFile( filename )
zip_file = zipfile.ZipFile(filename, 'a', zipfile.ZIP_STORED)
zip_file.write("../../iOS/Res/rules/modrules.xml", "rules/modrules.xml", zipfile.ZIP_STORED)
zip_file.close()