mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Use JSON::stringify
where possible
This commit is contained in:
parent
28f642097a
commit
fe56c1ff75
5 changed files with 5 additions and 9 deletions
|
@ -2639,8 +2639,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
|
|||
}
|
||||
if (user_data.libs.size() > 0) {
|
||||
Ref<FileAccess> fa = FileAccess::open(GDNATIVE_LIBS_PATH, FileAccess::WRITE);
|
||||
JSON json;
|
||||
fa->store_string(json.stringify(user_data.libs, "\t"));
|
||||
fa->store_string(JSON::stringify(user_data.libs, "\t"));
|
||||
}
|
||||
} else {
|
||||
print_verbose("Saving apk expansion file..");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue