mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
fix(components): an origin APK without a newer preload output still proves the rest
This commit is contained in:
1 parent
ddf3985cb5
commit
9003ed14c0
2 files changed
+26
-1
No files matched your search
@@ -133,7 +133,8 @@ def artifact_bytes(origin, cache):
|
||||
if len(names) != 1:
|
||||
raise ValueError('Expected one original APK')
|
||||
with ZipFile(io.BytesIO(archive.read(names[0]))) as apk:
|
||||
return {name: apk.read('assets/linuxfs/' + name) for name in FILES}
|
||||
present = set(apk.namelist())
|
||||
return {name: apk.read('assets/linuxfs/' + name) for name in FILES if 'assets/linuxfs/' + name in present}
|
||||
|
||||
|
||||
def validate_lock(data):
|
||||
|
||||
Reference in new issue
Block a user