Export for OS X on OS X now lets you select .dmg or .zip

This commit is contained in:
Marcelo Fernandez
2018-10-29 18:18:49 -03:00
parent 4761c6bb7b
commit d51999f11d
8 changed files with 46 additions and 22 deletions

View File

@@ -1386,8 +1386,10 @@ public:
return valid;
}
virtual String get_binary_extension(const Ref<EditorExportPreset> &p_preset) const {
return "apk";
virtual List<String> get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const {
List<String> list;
list.push_back("apk");
return list;
}
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) {