summaryrefslogtreecommitdiffstats
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-02-23 08:44:38 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-14 17:19:18 +0200
commitf0315c28a8b126dfd64f0db2753d92e1b547607f (patch)
treefab42ea8135d60097d12164c92209a44c180be7f /editor/editor_export.cpp
parent95b6c6cf9a5a21b65ac7cb221b9d997fbf66184e (diff)
downloadredot-engine-f0315c28a8b126dfd64f0db2753d92e1b547607f.tar.gz
[Export] Add "export console script" option for Linux, macOS, and Windows exports.
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index c3c8f40164..113d207b17 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1755,6 +1755,8 @@ void EditorExportPlatformPC::get_export_options(List<ExportOption> *r_options) {
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/debug", PROPERTY_HINT_GLOBAL_FILE), ""));
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/release", PROPERTY_HINT_GLOBAL_FILE), ""));
+ r_options->push_back(ExportOption(PropertyInfo(Variant::INT, "debug/export_console_script", PROPERTY_HINT_ENUM, "No,Debug Only,Debug and Release"), 1));
+
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "binary_format/64_bits"), true));
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "binary_format/embed_pck"), false));