EditorExportPlatformLinuxBSD

继承: EditorExportPlatformPC < EditorExportPlatform < RefCounted < Object

Exporter for Linux/BSD.

属性


属性说明

String binary_format/architecture

Application executable architecture.

Supported architectures: x86_32, x86_64, arm64, arm32, rv64, ppc64, and ppc32.

Official export templates include x86_32 and x86_64 binaries only.


bool binary_format/embed_pck

If true, project resources are embedded into the executable.


String custom_template/debug

Path to the custom export template. If left empty, default template is used.


String custom_template/release

Path to the custom export template. If left empty, default template is used.


int debug/export_console_wrapper

If true, a console wrapper is exported alongside the main executable, which allows running the project with enabled console output.


String ssh_remote_deploy/cleanup_script

Script code to execute on the remote host when app is finished.

The following variables can be used in the script:

  • {temp_dir} - Path of temporary folder on the remote, used to upload app and scripts to.

  • {archive_name} - Name of the ZIP containing uploaded application.

  • {exe_name} - Name of application executable.

  • {cmd_args} - Array of the command line argument for the application.


bool ssh_remote_deploy/enabled

Enables remote deploy using SSH/SCP.


String ssh_remote_deploy/extra_args_scp

Array of the additional command line arguments passed to the SCP.


String ssh_remote_deploy/extra_args_ssh

Array of the additional command line arguments passed to the SSH.


String ssh_remote_deploy/host

Remote host SSH user name and address, in user@address format.


String ssh_remote_deploy/port

Remote host SSH port number.


String ssh_remote_deploy/run_script

Script code to execute on the remote host when running the app.

The following variables can be used in the script:

  • {temp_dir} - Path of temporary folder on the remote, used to upload app and scripts to.

  • {archive_name} - Name of the ZIP containing uploaded application.

  • {exe_name} - Name of application executable.

  • {cmd_args} - Array of the command line argument for the application.


bool texture_format/etc2_astc

If true, project textures are exported in the ETC2/ASTC format.


bool texture_format/s3tc_bptc

If true, project textures are exported in the S3TC/BPTC format.

1

本方法通常需要用户覆盖才能生效。

2

本方法无副作用,不会修改该实例的任何成员变量。

3

本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。

4

本方法用于构造某个类型。

5

调用本方法无需实例,可直接使用类名进行调用。

6

本方法描述的是使用本类型作为左操作数的有效运算符。

7

这个值是由下列位标志构成位掩码的整数。

8

无返回值。