mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-25 02:12:00 -04:00
index_v1: restore nativecode field
This got removed with commit f0eedc3ade
which results in issues with clients using index v1.
These clients may end up offering the wrong arch for the device.
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
@@ -1038,6 +1038,9 @@ def make_v1(apps, packages, repodir, repodict, requestsdict, signer_fingerprints
|
||||
package['apkName'] = file_d['name']
|
||||
package['hash'] = file_d['sha256']
|
||||
package['hashType'] = 'sha256'
|
||||
nativecode = package['manifest'].get('nativecode', list())
|
||||
if nativecode:
|
||||
package['nativecode'] = nativecode
|
||||
package['size'] = file_d['size']
|
||||
signer = package['manifest'].get('signer', dict()).get('sha256', list())
|
||||
if signer:
|
||||
|
||||
Reference in New Issue
Block a user