mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Android] Store native libraries uncompressed in APK
This commit is contained in:
parent
284d0332dd
commit
0e7b067701
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ Error EditorExportPlatformAndroid::save_apk_so(void *p_userdata, const SharedObj
|
||||||
String abi = abis[abi_index].abi;
|
String abi = abis[abi_index].abi;
|
||||||
String dst_path = String("lib").path_join(abi).path_join(p_so.path.get_file());
|
String dst_path = String("lib").path_join(abi).path_join(p_so.path.get_file());
|
||||||
Vector<uint8_t> array = FileAccess::get_file_as_bytes(p_so.path);
|
Vector<uint8_t> array = FileAccess::get_file_as_bytes(p_so.path);
|
||||||
Error store_err = store_in_apk(ed, dst_path, array);
|
Error store_err = store_in_apk(ed, dst_path, array, Z_NO_COMPRESSION);
|
||||||
ERR_FAIL_COND_V_MSG(store_err, store_err, "Cannot store in apk file '" + dst_path + "'.");
|
ERR_FAIL_COND_V_MSG(store_err, store_err, "Cannot store in apk file '" + dst_path + "'.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue