summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-02 11:09:16 +0100
committerGitHub <noreply@github.com>2020-12-02 11:09:16 +0100
commitde5a956ea1e17b1f02e1d7363d44dd0a350fc29f (patch)
tree72d320a3d15ab883859cda3e9be28d51869f0a96
parentf9b08bef72070fafe0133d232aefda4650a175da (diff)
parent7be8759991469e75c304cd209ee3fdf1a940d84d (diff)
Merge pull request #44035 from bruvzg/macos_dot_project
Fix .pck lookup for extensionless binary in macOS resources.
-rw-r--r--core/config/project_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index 8b8aff3e9e..f939fca984 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -402,7 +402,7 @@ Error ProjectSettings::_setup(const String &p_path, const String &p_main_pack, b
#ifdef OSX_ENABLED
if (!found) {
// Attempt to load PCK from macOS .app bundle resources.
- found = _load_resource_pack(OS::get_singleton()->get_bundle_resource_dir().plus_file(exec_basename + ".pck"));
+ found = _load_resource_pack(OS::get_singleton()->get_bundle_resource_dir().plus_file(exec_basename + ".pck")) || _load_resource_pack(OS::get_singleton()->get_bundle_resource_dir().plus_file(exec_filename + ".pck"));
}
#endif