diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-08 14:22:50 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-08 14:57:46 +0100 |
| commit | 7c29ce43755d7fb083bc06d6b406e3a150145309 (patch) | |
| tree | 32af7cca2dd293ae4c982d1508bcb2d4912212ba /editor/editor_node.h | |
| parent | ae21664655a16526b1a8e3e30f4e03d9a7c9c67c (diff) | |
| download | redot-engine-7c29ce43755d7fb083bc06d6b406e3a150145309.tar.gz | |
Export: Add dedicated --export-pack option to export data pack
The previous behavior relying on the provided extension was problematic
on macOS since .zip is the main extension used for the full project
export (binary + data pack).
We add a dedicated `--export-pack` command line option to define when
only the data pack should be exported. Its extension will still be
inferred from the path.
Fixes #23073.
Diffstat (limited to 'editor/editor_node.h')
| -rw-r--r-- | editor/editor_node.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h index 469ba76872..7f53f77c76 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -558,6 +558,7 @@ private: String preset; String path; bool debug; + bool pack_only; } export_defer; bool disable_progress_dialog; @@ -779,7 +780,7 @@ public: void _copy_warning(const String &p_str); - Error export_preset(const String &p_preset, const String &p_path, bool p_debug); + Error export_preset(const String &p_preset, const String &p_path, bool p_debug, bool p_pack_only); static void register_editor_types(); static void unregister_editor_types(); |
