Fix Task 2 resource and native contracts
Sync changed files to Google Drive / sync (push) Successful in 33s

This commit is contained in:
admin_d committed 2026-09-14 21:13:00 +05:00
1 parent b52921e171
commit 3c16d9485a
3 files changed
+14 -3

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ def current_package() -> tuple[dict, str]:
apk=package.get('apk')
if not isinstance(apk,dict) or set(apk)!={'file','sha256','size','native_library_path_in_apk'} or apk.get('file')!='out/current/kam-mobile.apk': fail('Package APK locator mismatch')
if package['cpu'] not in CPUS or package['abi']!=CPUS[package['cpu']][0]: fail('Invalid package ABI')
if apk.get('native_library_path_in_apk')!=f"lib/{package['abi']}/libkam_mobile.so": fail('Package native library path does not match selected ABI')
if not CURRENT_APK.is_file() or apk.get('sha256')!=sha256(CURRENT_APK): fail('Current APK missing or changed')
return package, identity['package']