diff --git a/platform/linuxbsd/export/export_plugin.cpp b/platform/linuxbsd/export/export_plugin.cpp index efa0140204..e63193e0c8 100644 --- a/platform/linuxbsd/export/export_plugin.cpp +++ b/platform/linuxbsd/export/export_plugin.cpp @@ -50,7 +50,7 @@ Error EditorExportPlatformLinuxBSD::_export_debug_script(const Refstore_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 + "\" \"$@\""); diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index c478644c23..d3d3cf1b35 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -1500,7 +1500,7 @@ Error EditorExportPlatformMacOS::_export_debug_script(const Refstore_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");