| 2233 | } |
| 2234 | |
| 2235 | Error EditorExportPlatform::export_pack_patch(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, const Vector<String> &p_patches, BitField<EditorExportPlatform::DebugFlags> p_flags) { |
| 2236 | ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags); |
| 2237 | Error err = _load_patches(p_patches.is_empty() ? p_preset->get_patches() : p_patches); |
| 2238 | if (err != OK) { |
| 2239 | return err; |
| 2240 | } |
| 2241 | err = save_pack_patch(p_preset, p_debug, p_path); |
| 2242 | _unload_patches(); |
| 2243 | return err; |
| 2244 | } |
| 2245 | |
| 2246 | Error EditorExportPlatform::export_zip_patch(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, const Vector<String> &p_patches, BitField<EditorExportPlatform::DebugFlags> p_flags) { |
| 2247 | ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags); |
no test coverage detected