mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #110413 from timothyqiu/sc-paths
Fix Open Editor Data/Settings Folder menu in self-contained mode
This commit is contained in:
commit
dd8ae6cc66
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue