1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #104415 from zlago/patch-1

Export: Change unportable `echo` in the Linux/macOS debug launcher script
This commit is contained in:
Thaddeus Crews
2025-03-24 10:00:57 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ Error EditorExportPlatformLinuxBSD::_export_debug_script(const Ref<EditorExportP
}
f->store_line("#!/bin/sh");
f->store_line("echo -ne '\\033c\\033]0;" + p_app_name + "\\a'");
f->store_line("printf '\\033c\\033]0;%s\\a' " + p_app_name);
f->store_line("base_path=\"$(dirname \"$(realpath \"$0\")\")\"");
f->store_line("\"$base_path/" + p_pkg_name + "\" \"$@\"");

View File

@@ -1500,7 +1500,7 @@ Error EditorExportPlatformMacOS::_export_debug_script(const Ref<EditorExportPres
}
f->store_line("#!/bin/sh");
f->store_line("echo -ne '\\033c\\033]0;" + p_app_name + "\\a'");
f->store_line("printf '\\033c\\033]0;%s\\a' " + p_app_name);
f->store_line("");
f->store_line("function app_realpath() {");
f->store_line(" SOURCE=$1");