EditorExportPlatformLinuxBSD

继承: EditorExportPlatformPC < EditorExportPlatform < RefCounted < Object

Linux/BSD 导出器。

属性


属性说明

String binary_format/architecture 🔗

应用程序可执行架构。

支持的架构: x86_32, x86_64, arm64, arm32, rv64, ppc64, ppc32, 以及 loongarch64.

官方提供的导出模板仅包含 x86_32, x86_64, arm32, 以及 arm64 这几种二进制文件格式。


bool binary_format/embed_pck 🔗

如果为 true,则会将项目资源嵌入到可执行文件中。


String custom_template/debug 🔗

到自定义导出模板的路径。如果留空,则默认模板将被使用。


String custom_template/release 🔗

到自定义导出模板的路径。如果留空,则默认模板将被使用。


int debug/export_console_wrapper 🔗

如果为 true,则会在导出主可执行文件的同时导出一个控制台封装,能够在运行项目时启用控制台输出。


String ssh_remote_deploy/cleanup_script 🔗

在应用程序完成时,在远程主机上执行的脚本代码。

以下变量可在脚本中使用:

  • {temp_dir} - 远程主机上临时文件夹的路径,用于将应用程序和脚本上传至此。

  • {archive_name} - 已上传应用程序的压缩文件的名称。

  • {exe_name} - 应用程序可执行文件的名称。

  • {cmd_args} - 该应用程序的命令行参数数组。


bool ssh_remote_deploy/enabled 🔗

启用通过 SSH/SCP 进行远程部署。


String ssh_remote_deploy/extra_args_scp 🔗

要传给 SCP 的额外命令行参数的数组。


String ssh_remote_deploy/extra_args_ssh 🔗

要传给 SSH 的额外命令行参数的数组。


String ssh_remote_deploy/host 🔗

远程主机 SSH 用户名及地址,格式为 用户名@地址


String ssh_remote_deploy/port 🔗

远程主机 SSH 端口号。


String ssh_remote_deploy/run_script 🔗

在运行应用程序时,在远程主机上执行的脚本代码。

以下变量可在脚本中使用:

  • {temp_dir} - 远程主机上临时文件夹的路径,用于将应用程序和脚本上传至此。

  • {archive_name} - 已上传应用程序的压缩文件的名称。

  • {exe_name} - 应用程序可执行文件的名称。

  • {cmd_args} - 该应用程序的命令行参数数组。


bool texture_format/etc2_astc 🔗

如果为 true,则项目中的纹理在导出时使用 ETC2/ASTC 格式。


bool texture_format/s3tc_bptc 🔗

如果为 true,则项目中的纹理在导出时使用 S3TC/BPTC 格式。