| 143 | } |
| 144 | |
| 145 | Error EditorExportPlatformPC::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, BitField<EditorExportPlatform::DebugFlags> p_flags) { |
| 146 | ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags); |
| 147 | |
| 148 | Error err = prepare_template(p_preset, p_debug, p_path, p_flags); |
| 149 | if (err == OK) { |
| 150 | err = modify_template(p_preset, p_debug, p_path, p_flags); |
| 151 | } |
| 152 | if (err == OK) { |
| 153 | err = export_project_data(p_preset, p_debug, p_path, p_flags); |
| 154 | } |
| 155 | |
| 156 | return err; |
| 157 | } |
| 158 | |
| 159 | Error EditorExportPlatformPC::prepare_template(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, BitField<EditorExportPlatform::DebugFlags> p_flags) { |
| 160 | if (!DirAccess::exists(p_path.get_base_dir())) { |
no outgoing calls
no test coverage detected