You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Allow exporting runnable presets from command line
(cherry picked from commit af7926cf98)
This commit is contained in:
committed by
Rémi Verschelde
parent
83b53ce6c8
commit
ce362c03cf
@@ -458,7 +458,7 @@ void EditorNode::_fs_changed() {
|
|||||||
// come during the export
|
// come during the export
|
||||||
export_defer.preset = "";
|
export_defer.preset = "";
|
||||||
Error err;
|
Error err;
|
||||||
if (!preset->is_runnable() && (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip"))) {
|
if (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip")) {
|
||||||
if (export_defer.path.ends_with(".zip")) {
|
if (export_defer.path.ends_with(".zip")) {
|
||||||
err = platform->export_zip(preset, export_defer.debug, export_defer.path);
|
err = platform->export_zip(preset, export_defer.debug, export_defer.path);
|
||||||
} else if (export_defer.path.ends_with(".pck")) {
|
} else if (export_defer.path.ends_with(".pck")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user