summaryrefslogtreecommitdiffstats
path: root/platform/osx/export/export_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-01-18 11:51:01 +0100
committerGitHub <noreply@github.com>2022-01-18 11:51:01 +0100
commit567b600362f9625c1916a94e386667ae3df9a4aa (patch)
treed6360a156fc34737c77106800322490139bf9cda /platform/osx/export/export_plugin.h
parent5bc87025f41566179352ae62478fcb2a141cfdb0 (diff)
parent8bb00a2dfd32a5b3f9a30f55ac8a9e88b73cd6a2 (diff)
downloadredot-engine-567b600362f9625c1916a94e386667ae3df9a4aa.tar.gz
Merge pull request #51310 from bruvzg/🍎🍏🍐🍎🍎
Diffstat (limited to 'platform/osx/export/export_plugin.h')
-rw-r--r--platform/osx/export/export_plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/osx/export/export_plugin.h b/platform/osx/export/export_plugin.h
index aa22ad6384..85fc72437c 100644
--- a/platform/osx/export/export_plugin.h
+++ b/platform/osx/export/export_plugin.h
@@ -68,13 +68,13 @@ class EditorExportPlatformOSX : public EditorExportPlatform {
Error _create_dmg(const String &p_dmg_path, const String &p_pkg_name, const String &p_app_path_name);
void _zip_folder_recursive(zipFile &p_zip, const String &p_root_path, const String &p_folder, const String &p_pkg_name);
-#ifdef OSX_ENABLED
bool use_codesign() const { return true; }
+#ifdef OSX_ENABLED
bool use_dmg() const { return true; }
#else
- bool use_codesign() const { return false; }
bool use_dmg() const { return false; }
#endif
+
bool is_package_name_valid(const String &p_package, String *r_error = nullptr) const {
String pname = p_package;
@@ -113,6 +113,7 @@ public:
list.push_back("dmg");
}
list.push_back("zip");
+ list.push_back("app");
return list;
}
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) override;