You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix project and editor data paths not being opened correctly on macOS
This closes #21904.
This commit is contained in:
@@ -2078,7 +2078,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
|||||||
} break;
|
} break;
|
||||||
case RUN_PROJECT_DATA_FOLDER: {
|
case RUN_PROJECT_DATA_FOLDER: {
|
||||||
|
|
||||||
OS::get_singleton()->shell_open(OS::get_singleton()->get_user_data_dir());
|
OS::get_singleton()->shell_open(String("file://") + OS::get_singleton()->get_user_data_dir());
|
||||||
} break;
|
} break;
|
||||||
case FILE_QUIT:
|
case FILE_QUIT:
|
||||||
case RUN_PROJECT_MANAGER: {
|
case RUN_PROJECT_MANAGER: {
|
||||||
@@ -2214,11 +2214,11 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
|||||||
} break;
|
} break;
|
||||||
case SETTINGS_EDITOR_DATA_FOLDER: {
|
case SETTINGS_EDITOR_DATA_FOLDER: {
|
||||||
|
|
||||||
OS::get_singleton()->shell_open(EditorSettings::get_singleton()->get_data_dir());
|
OS::get_singleton()->shell_open(String("file://") + EditorSettings::get_singleton()->get_data_dir());
|
||||||
} break;
|
} break;
|
||||||
case SETTINGS_EDITOR_CONFIG_FOLDER: {
|
case SETTINGS_EDITOR_CONFIG_FOLDER: {
|
||||||
|
|
||||||
OS::get_singleton()->shell_open(EditorSettings::get_singleton()->get_settings_dir());
|
OS::get_singleton()->shell_open(String("file://") + EditorSettings::get_singleton()->get_settings_dir());
|
||||||
} break;
|
} break;
|
||||||
case SETTINGS_MANAGE_EXPORT_TEMPLATES: {
|
case SETTINGS_MANAGE_EXPORT_TEMPLATES: {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user