Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

EditorExportPlatformLinuxBSD

繼承: EditorExportPlatformPC < EditorExportPlatform < RefCounted < Object

Linux/BSD 匯出器。

教學

屬性

String

binary_format/architecture

bool

binary_format/embed_pck

String

custom_template/debug

String

custom_template/release

int

debug/export_console_wrapper

bool

shader_baker/enabled

String

ssh_remote_deploy/cleanup_script

bool

ssh_remote_deploy/enabled

String

ssh_remote_deploy/extra_args_scp

String

ssh_remote_deploy/extra_args_ssh

String

ssh_remote_deploy/host

String

ssh_remote_deploy/port

String

ssh_remote_deploy/run_script

bool

texture_format/etc2_astc

bool

texture_format/s3tc_bptc


屬性說明

String binary_format/architecture 🔗

Application executable architecture.

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

Official export templates include x86_32, x86_64, arm32, and arm64 binaries only.


bool binary_format/embed_pck 🔗

如果為 true,則會將專案資源嵌入到可執行檔中。


String custom_template/debug 🔗

到自訂匯出範本的路徑。如果留空,則預設範本將被使用。


String custom_template/release 🔗

到自訂匯出範本的路徑。如果留空,則預設範本將被使用。


int debug/export_console_wrapper 🔗

如果為 true,則會在匯出主可執行檔的同時匯出一個控制台封裝,能夠在運作專案時啟用控制台輸出。


bool shader_baker/enabled 🔗

If true, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers.

Note: When exporting as a dedicated server, the shader baker is always disabled since no rendering is performed.


String ssh_remote_deploy/cleanup_script 🔗

套用結束時,要在遠端主機上執行的腳本程式碼。

可以在腳本中使用以下變數:

  • {temp_dir} - 遠端的暫存檔案夾路徑,用於上傳套用和腳本。

  • {archive_name} - 包含上傳的套用程式的 ZIP 檔的名稱。

  • {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} - 包含上傳的套用程式的 ZIP 檔的名稱。

  • {exe_name} - 套用程式可執行檔的名稱。

  • {cmd_args} - 套用程式命令列參數的陣列。


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.