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.
Checking the stable version of the documentation...
EditorExportPlatformWindows
繼承: EditorExportPlatformPC < EditorExportPlatform < RefCounted < Object
Windows 匯出器。
說明
The Windows exporter customizes how a Windows build is handled. In the editor's "Export" window, it is created when adding a new "Windows" preset.
教學
屬性
屬性說明
String application/company_name 🔗
出品該程式的公司。必填。見 StringFileInfo。
String application/console_wrapper_icon 🔗
控制台封裝圖示檔。如果留空,則依次退回至 application/icon、ProjectSettings.application/config/windows_native_icon、ProjectSettings.application/config/icon。
String application/copyright 🔗
使用者可見的組合包版權宣告。選填。見 StringFileInfo。
bool application/d3d12_agility_sdk_multiarch 🔗
If true, and application/export_d3d12 is set, the Agility SDK DLLs will be stored in arch-specific subdirectories.
int application/export_angle 🔗
如果設定為1,則ANGLE 函式庫將隨匯出的應用程式一起匯出。如果設定為0,則匯出ANGLE 函式庫僅當 ProjectSettings.rendering/gl_compatibility/driver 設定為 "opengl3_angle".
int application/export_d3d12 🔗
If set to 1, the Direct3D 12 runtime libraries (Agility SDK, PIX) are exported with the exported application. If set to 0, Direct3D 12 libraries are exported only if ProjectSettings.rendering/rendering_device/driver is set to "d3d12".
String application/file_description 🔗
展示給使用者的檔案說明。必填。見 StringFileInfo。
String application/file_version 🔗
檔的版本號。必填。見 StringFileInfo。
套用程式圖示檔。如果留空,則退回至 ProjectSettings.application/config/windows_native_icon,而後是 ProjectSettings.application/config/icon。
int application/icon_interpolation 🔗
用於調整套用程式圖示大小的插值方法。
bool application/modify_resources 🔗
如果啟用,則會根據 application/* 中的其他值設定匯出後可執行檔的圖示和中繼資料。
String application/product_name 🔗
套用程式的名稱。必填。見 StringFileInfo。
String application/product_version 🔗
使用者可見的套用程式版本。必填。見 StringFileInfo。
String application/trademarks 🔗
適用於該檔案的商標及注冊商標。選填。見 StringFileInfo。
String binary_format/architecture 🔗
Application executable architecture.
Supported architectures: x86_32, x86_64, and arm64.
bool binary_format/embed_pck 🔗
如果為 true,則會將專案資源嵌入到可執行檔中。
PackedStringArray codesign/custom_options 🔗
要傳給程式碼簽章工具的額外命令列參數的資料。見簽章工具。
Note: The returned array is copied and any changes to it will not update the original property value. See PackedStringArray for more details.
對被簽章內容的描述。見簽章工具。
int codesign/digest_algorithm 🔗
建立簽章所使用的摘要演算法。見簽章工具。
如果為 true,則啟用可執行檔簽章。
用於對可執行檔簽章的 PKCS #12 憑證檔,或憑證的 SHA-1 雜湊(如果 codesign/identity_type 為 "Use certificate store")。見簽章工具。
可以使用環境變數 GODOT_WINDOWS_CODESIGN_IDENTITY 覆蓋。
要使用的身份型別。見簽章工具。
可以使用環境變數 GODOT_WINDOWS_CODESIGN_IDENTITY_TYPE 覆蓋。
用於對可執行檔簽章的憑證檔的密碼。見簽章工具。
可以使用環境變數 GODOT_WINDOWS_CODESIGN_PASSWORD 覆蓋。
如果為 true,則會在簽章中新增時間戳記。見簽章工具。
String codesign/timestamp_server_url 🔗
時間戳記伺服器的 URL。如果留空則使用預設伺服器。見簽章工具。
String custom_template/debug 🔗
到自訂匯出範本的路徑。如果留空,則預設範本將被使用。
String custom_template/release 🔗
到自訂匯出範本的路徑。如果留空,則預設範本將被使用。
int debug/export_console_wrapper 🔗
如果為 true,則會在匯出主可執行檔的同時匯出一個控制台封裝可執行檔,能夠在運作專案時啟用控制台輸出。
If true, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ and 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.