mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Added auto-update mode
This commit is contained in:
parent
fda286b1e3
commit
aef5b74437
2 changed files with 39 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue