diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-10-29 18:18:49 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-11-01 10:08:26 -0300 |
commit | d51999f11d7f6c1b30310a08cde7b12666e673ac (patch) | |
tree | 40d186e0623366287b7377df609f6346b5b11c4d /platform/iphone | |
parent | 4761c6bb7bbaacd20583be502901a8ab834a8718 (diff) |
Export for OS X on OS X now lets you select .dmg or .zip
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/export/export.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp index 63bc4a519b..1fc497456c 100644 --- a/platform/iphone/export/export.cpp +++ b/platform/iphone/export/export.cpp @@ -108,7 +108,11 @@ public: virtual String get_os_name() const { return "iOS"; } virtual Ref<Texture> get_logo() const { return logo; } - virtual String get_binary_extension(const Ref<EditorExportPreset> &p_preset) const { return "ipa"; } + virtual List<String> get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const { + List<String> list; + list.push_back("ipa"); + return list; + } virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0); virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const; |