Fix gdextensionlibs.json storage path in Android gradle build

It should relative to gradle build directory
This commit is contained in:
beicause 2024-03-17 01:11:36 +08:00
parent fe01776f05
commit 428fa0dfa7

View file

@ -3096,7 +3096,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
return err; return err;
} }
if (user_data.libs.size() > 0) { if (user_data.libs.size() > 0) {
Ref<FileAccess> fa = FileAccess::open(GDEXTENSION_LIBS_PATH, FileAccess::WRITE); Ref<FileAccess> fa = FileAccess::open(gdextension_libs_path, FileAccess::WRITE);
fa->store_string(JSON::stringify(user_data.libs, "\t")); fa->store_string(JSON::stringify(user_data.libs, "\t"));
} }
} else { } else {