mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Merge pull request #36993 from van800/editor_metadata
For third-party tools - editor_path is stored in project's editor settings
This commit is contained in:
commit
faca5bafe8
@ -6704,6 +6704,9 @@ EditorNode::EditorNode() {
|
||||
screenshot_timer->connect("timeout", callable_mp(this, &EditorNode::_request_screenshot));
|
||||
add_child(screenshot_timer);
|
||||
screenshot_timer->set_owner(get_owner());
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
EditorSettings::get_singleton()->set_project_metadata("editor_metadata", "executable_path", exec); // Save editor executable path for third-party tools
|
||||
}
|
||||
|
||||
EditorNode::~EditorNode() {
|
||||
|
Loading…
Reference in New Issue
Block a user