aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/project_export.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-02-04 20:53:55 -0300
committerJuan Linietsky2017-02-04 20:53:55 -0300
commit102b5fce85ffa14887bb08433f7eb571c7aafd81 (patch)
treee2f351604236a2aaee49449568398f29a29b78bf /tools/editor/project_export.cpp
parent331a4d8078649d334144e1d370a09b607f32e39f (diff)
downloadgodot-102b5fce85ffa14887bb08433f7eb571c7aafd81.tar.gz
godot-102b5fce85ffa14887bb08433f7eb571c7aafd81.tar.zst
godot-102b5fce85ffa14887bb08433f7eb571c7aafd81.zip
Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.x
Diffstat (limited to 'tools/editor/project_export.cpp')
-rw-r--r--tools/editor/project_export.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/project_export.cpp b/tools/editor/project_export.cpp
index 4472cff9c..2fa62df5b 100644
--- a/tools/editor/project_export.cpp
+++ b/tools/editor/project_export.cpp
@@ -450,8 +450,8 @@ void ProjectExportDialog::_export_action(const String& p_file) {
while(true) {
- print_line("TESTING: "+location.plus_file("engine.cfg"));
- if (FileAccess::exists(location.plus_file("engine.cfg"))) {
+ print_line("TESTING: "+location.plus_file("godot.cfg"));
+ if (FileAccess::exists(location.plus_file("godot.cfg"))) {
error->set_text(TTR("Please export outside the project folder!"));
error->popup_centered_minsize();
@@ -2099,7 +2099,7 @@ Error ProjectExport::export_project(const String& p_preset) {
added_settings["remap/"+platform]=Variant(remaps).operator Array();
}
- String engine_cfg_path=d->get_current_dir()+"/engine.cfg";
+ String engine_cfg_path=d->get_current_dir()+"/godot.cfg";
print_line("enginecfg: "+engine_cfg_path);
GlobalConfig::get_singleton()->save_custom(engine_cfg_path,added_settings);