Use ProjectSettings functions instead of hard-coded folder name in tests

This commit is contained in:
Aaron Franke 2025-07-01 11:35:20 -07:00
parent ab6c6eece8
commit 3c5df91a90
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
6 changed files with 18 additions and 13 deletions

View file

@ -83,6 +83,7 @@ String EditorPaths::get_debug_keystore_path() const {
#endif
}
// This returns paths like "res://.godot/editor".
String EditorPaths::get_project_settings_dir() const {
return get_project_data_dir().path_join("editor");
}