Added auto-update mode

This commit is contained in:
Ciaran Gultnieks 2012-09-20 14:16:55 +01:00
parent fda286b1e3
commit aef5b74437
2 changed files with 39 additions and 3 deletions

View file

@ -426,6 +426,7 @@ def parse_metadata(metafile, **kw):
thisinfo['Disabled'] = None
thisinfo['AntiFeatures'] = None
thisinfo['Update Check Mode'] = 'Market'
thisinfo['Auto Update Mode'] = 'None'
thisinfo['Current Version'] = ''
thisinfo['Current Version Code'] = '0'
thisinfo['Repo Type'] = ''
@ -594,6 +595,7 @@ def write_metadata(dest, app):
mf.write('\n')
if len(app['builds']) > 0:
mf.write('\n')
writefield('Auto Update Mode')
writefield('Update Check Mode')
if len(app['Current Version']) > 0:
writefield('Current Version')