You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Rename project file to "project.godot"
Slimmed down variant from the reverted #8375. The rationale behind the name change is to give Godot's project file a unique extension (".godot") that can be registered on the OS to be associated with the Godot binary (OS registration not implemented here). This PR also adds the possibility to start the game or editor if launched with the project.godot passed as argument, which paves the way for allowing a similar behaviour on a double-click in the OS file manager (code originally by @Hinsbart). Closes #6915.
This commit is contained in:
@@ -1168,7 +1168,7 @@ void ProjectSettings::_bind_methods() {
|
||||
ProjectSettings::ProjectSettings(EditorData *p_data) {
|
||||
|
||||
singleton = this;
|
||||
set_title(TTR("Project Settings (godot.cfg)"));
|
||||
set_title(TTR("Project Settings (project.godot)"));
|
||||
set_resizable(true);
|
||||
undo_redo = &p_data->get_undo_redo();
|
||||
data = p_data;
|
||||
|
||||
Reference in New Issue
Block a user