You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix Open Editor Data/Settings Folder menu in self-contained mode
This commit is contained in:
@@ -8224,11 +8224,11 @@ EditorNode::EditorNode() {
|
||||
settings_menu->add_separator();
|
||||
|
||||
#ifndef ANDROID_ENABLED
|
||||
if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) {
|
||||
// Configuration and data folders are located in the same place (Windows/macOS).
|
||||
if (EditorPaths::get_singleton()->get_data_dir() == EditorPaths::get_singleton()->get_config_dir()) {
|
||||
// Configuration and data folders are located in the same place.
|
||||
settings_menu->add_item(TTRC("Open Editor Data/Settings Folder"), EDITOR_OPEN_DATA_FOLDER);
|
||||
} else {
|
||||
// Separate configuration and data folders (Linux).
|
||||
// Separate configuration and data folders.
|
||||
settings_menu->add_item(TTRC("Open Editor Data Folder"), EDITOR_OPEN_DATA_FOLDER);
|
||||
settings_menu->add_item(TTRC("Open Editor Settings Folder"), EDITOR_OPEN_CONFIG_FOLDER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user