mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +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_delegate.h | ||
app_delegate.mm | ||
detect.py | ||
game_center.h | ||
game_center.mm | ||
gl_view.h | ||
gl_view.mm | ||
godot_iphone.cpp | ||
icloud.h | ||
icloud.mm | ||
in_app_store.h | ||
in_app_store.mm | ||
ios.h | ||
ios.mm | ||
logo.png | ||
main.m | ||
os_iphone.cpp | ||
os_iphone.h | ||
platform_config.h | ||
platform_refcount.h | ||
power_iphone.cpp | ||
power_iphone.h | ||
SCsub | ||
semaphore_iphone.cpp | ||
semaphore_iphone.h | ||
view_controller.h | ||
view_controller.mm |