mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
fdroid publish now includes OTA ZIPs and related source
This adds support for publishing ZIP files which were built with `fdroid build`. This is for "Over-The-Air" (OTA) update ZIP files for flashing to ROMs. The first example of this is the Privileged Extension, which must be installed by flashing an OTA ZIP on Android > 5.0. !181 https://gitlab.com/fdroid/privileged-extension/issues/9 https://gitlab.com/fdroid/privileged-extension/issues/10 https://gitlab.com/fdroid/fdroiddata/merge_requests/1804 Also, "if app.Binaries:" is the same as "if app.Binaries is not None:", but is the standard Python style.
This commit is contained in:
parent
0eea26753a
commit
bc27dee950
4 changed files with 18 additions and 11 deletions
|
|
@ -60,7 +60,7 @@ def main():
|
|||
for apkfile in sorted(glob.glob(os.path.join(unsigned_dir, '*.apk'))):
|
||||
|
||||
apkfilename = os.path.basename(apkfile)
|
||||
appid, vercode = common.apknameinfo(apkfile)
|
||||
appid, vercode = common.publishednameinfo(apkfile)
|
||||
|
||||
if vercodes and appid not in vercodes:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue