diff options
author | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-16 13:31:57 +0100 |
---|---|---|
committer | Nils ANDRÉ-CHANG <nils.andre.chang@gmail.com> | 2019-06-23 13:33:50 +0100 |
commit | d2833d4f4d891b6a0ee32a04f9d32a410b998b93 (patch) | |
tree | 3e1ce371e8edfb4f30571adb1e3c2b0b4a0a3389 /platform/android/export | |
parent | f410e7a8a9b14fd9f5c210afcc9e3519e9ce246d (diff) |
Replace ` + "/" + ` with `String::file_add()`
Diffstat (limited to 'platform/android/export')
-rw-r--r-- | platform/android/export/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 30267aa968..a336402686 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -597,7 +597,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform { if (abi_index != -1) { exported = true; String abi = abis[abi_index]; - String dst_path = "lib/" + abi + "/" + p_so.path.get_file(); + String dst_path = String("lib").plus_file(abi).plus_file(p_so.path.get_file()); Vector<uint8_t> array = FileAccess::get_file_as_array(p_so.path); Error store_err = store_in_apk(ed, dst_path, array); ERR_FAIL_COND_V(store_err, store_err); |