mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
5011afcb6a
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470. |
||
---|---|---|
.. | ||
export | ||
app.cpp | ||
app.h | ||
context_egl_uwp.cpp | ||
context_egl_uwp.h | ||
detect.py | ||
joypad_uwp.cpp | ||
joypad_uwp.h | ||
logo.png | ||
os_uwp.cpp | ||
os_uwp.h | ||
platform_config.h | ||
power_uwp.cpp | ||
power_uwp.h | ||
SCsub | ||
thread_uwp.cpp | ||
thread_uwp.h |