MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / export_pack_patch

Method export_pack_patch

editor/export/editor_export_platform.cpp:2235–2244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2233}
2234
2235Error 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
2246Error 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);

Callers 2

_fs_changedMethod · 0.45

Calls 2

get_patchesMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected