aboutsummaryrefslogtreecommitdiff
path: root/platform/osx/export/export.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-19 09:58:06 +0200
committerGitHub2017-07-19 09:58:06 +0200
commit1f91c2908e7c551c20dc00d88212e0aaad44f4cf (patch)
tree127cd16898be268b3a7379e5208c7c6a99783b99 /platform/osx/export/export.cpp
parentd4c73ea2b379835e75e02b78073547960cf03a74 (diff)
parent5a2500f580025f474a12f0c6afd5129e23a50b14 (diff)
downloadgodot-1f91c2908e7c551c20dc00d88212e0aaad44f4cf.tar.gz
godot-1f91c2908e7c551c20dc00d88212e0aaad44f4cf.tar.zst
godot-1f91c2908e7c551c20dc00d88212e0aaad44f4cf.zip
Diffstat (limited to 'platform/osx/export/export.cpp')
-rw-r--r--platform/osx/export/export.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp
index ca5535f77..f0a7e3772 100644
--- a/platform/osx/export/export.cpp
+++ b/platform/osx/export/export.cpp
@@ -275,8 +275,8 @@ Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_p
String pkg_name;
if (p_preset->get("application/name") != "")
pkg_name = p_preset->get("application/name"); // app_name
- else if (String(GlobalConfig::get_singleton()->get("application/name")) != "")
- pkg_name = String(GlobalConfig::get_singleton()->get("application/name"));
+ else if (String(GlobalConfig::get_singleton()->get("application/config/name")) != "")
+ pkg_name = String(GlobalConfig::get_singleton()->get("application/config/name"));
else
pkg_name = "Unnamed";
@@ -438,7 +438,7 @@ Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_p
/**
When exporting for OSX from any other platform we don't have access to code signing or creating DMGs so we'll wrap the bundle into a zip file.
- Should probably find a nicer way to have just one export method instead of duplicating the method like this but I would the code got very
+ Should probably find a nicer way to have just one export method instead of duplicating the method like this but I would the code got very
messy with switches inside of it.
**/
Error EditorExportPlatformOSX::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) {