diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-01 12:06:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 12:06:35 +0200 |
commit | d17eac735cc84abd9afd1e083df1a4e8a2c8e656 (patch) | |
tree | d006c3a5457edbde9e4f9016b48d0968d70e3ce5 /platform/android/export/export.cpp | |
parent | b62041d1f3b6428974d5be7ad9d378a445d432ac (diff) | |
parent | d2833d4f4d891b6a0ee32a04f9d32a410b998b93 (diff) | |
download | redot-engine-d17eac735cc84abd9afd1e083df1a4e8a2c8e656.tar.gz |
Merge pull request #29815 from NilsIrl/plus_file_1
Replace ` + "/" + ` with `String::file_add()`
Diffstat (limited to 'platform/android/export/export.cpp')
-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 0bd82b769f..b37cf642db 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -594,7 +594,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); |