Index · Object → RefCounted → EditorExportPlatform → EditorExportPlatformPC → EditorExportPlatformLinuxBSD

EditorExportPlatformLinuxBSD

Exporter for Linux/BSD.

Properties

var binary_format/architecture: String

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.

var binary_format/embed_pck: bool

If true, project resources are embedded into the executable.

var custom_template/debug: String

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

var custom_template/release: String

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

var debug/export_console_wrapper: int

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

var shader_baker/enabled: bool

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.

var ssh_remote_deploy/cleanup_script: String

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.

var ssh_remote_deploy/enabled: bool

Enables remote deploy using SSH/SCP.

var ssh_remote_deploy/extra_args_scp: String

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

var ssh_remote_deploy/extra_args_ssh: String

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

var ssh_remote_deploy/host: String

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

var ssh_remote_deploy/port: String

Remote host SSH port number.

var ssh_remote_deploy/run_script: String

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.

var texture_format/etc2_astc: bool

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

var texture_format/s3tc_bptc: bool

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

Methods

Inherited from EditorExportPlatform (27)
func add_message(type: EditorExportPlatform.ExportMessageType, category: String, message: String) -> void
func clear_messages() -> void
func export_pack(preset: EditorExportPreset, debug: bool, path: String, flags: EditorExportPlatform.DebugFlags = 0) -> Error
func export_pack_patch(preset: EditorExportPreset, debug: bool, path: String, patches: PackedStringArray = PackedStringArray(), flags: EditorExportPlatform.DebugFlags = 0) -> Error
func export_project(preset: EditorExportPreset, debug: bool, path: String, flags: EditorExportPlatform.DebugFlags = 0, notify: bool = true) -> Error
func export_project_files(preset: EditorExportPreset, debug: bool, save_cb: Callable, shared_cb: Callable = Callable()) -> Error
func export_zip(preset: EditorExportPreset, debug: bool, path: String, flags: EditorExportPlatform.DebugFlags = 0) -> Error
func export_zip_patch(preset: EditorExportPreset, debug: bool, path: String, patches: PackedStringArray = PackedStringArray(), flags: EditorExportPlatform.DebugFlags = 0) -> Error
func find_export_template(template_file_name: String) -> Dictionary
func get_message_text(index: int) -> String
func save_pack(preset: EditorExportPreset, debug: bool, path: String, embed: bool = false) -> Dictionary
func save_pack_patch(preset: EditorExportPreset, debug: bool, path: String) -> Dictionary
func save_zip(preset: EditorExportPreset, debug: bool, path: String) -> Dictionary
func save_zip_patch(preset: EditorExportPreset, debug: bool, path: String) -> Dictionary
func ssh_push_to_remote(host: String, port: String, scp_args: PackedStringArray, src_file: String, dst_file: String) -> Error
func ssh_run_on_remote(host: String, port: String, ssh_arg: PackedStringArray, cmd_args: String, output: Array = [], port_fwd: int = -1) -> Error
func ssh_run_on_remote_no_wait(host: String, port: String, ssh_args: PackedStringArray, cmd_args: String, port_fwd: int = -1) -> int
Inherited from RefCounted (4)
func init_ref() -> bool
func reference() -> bool
func unreference() -> bool
Inherited from Object (62)
func _get(property: StringName) -> Variant
func _get_property_list() -> Dictionary[]
func _init() -> void
func _iter_get(iter: Variant) -> Variant
func _iter_init(iter: Array) -> bool
func _iter_next(iter: Array) -> bool
func _notification(what: int) -> void
func _set(property: StringName, value: Variant) -> bool
func _to_string() -> String
func _validate_property(property: Dictionary) -> void
func add_user_signal(signal: String, arguments: Array = []) -> void
func call(method: StringName) -> Variant
func callv(method: StringName, arg_array: Array) -> Variant
func cancel_free() -> void
func connect(signal: StringName, callable: Callable, flags: int = 0) -> Error
func disconnect(signal: StringName, callable: Callable) -> void
func emit_signal(signal: StringName) -> Error
func free() -> void
func get(property: StringName) -> Variant
func get_class() -> String
func get_incoming_connections() -> Dictionary[]
func get_indexed(property_path: NodePath) -> Variant
func get_meta(name: StringName, default: Variant = null) -> Variant
func get_meta_list() -> StringName[]
func get_method_list() -> Dictionary[]
func get_property_list() -> Dictionary[]
func get_signal_connection_list(signal: StringName) -> Dictionary[]
func get_signal_list() -> Dictionary[]
func has_meta(name: StringName) -> bool
func has_method(method: StringName) -> bool
func has_signal(signal: StringName) -> bool
func is_class(class: StringName) -> bool
func is_connected(signal: StringName, callable: Callable) -> bool
func notification(what: int, reversed: bool = false) -> void
func remove_meta(name: StringName) -> void
func remove_user_signal(signal: StringName) -> void
func set(property: StringName, value: Variant) -> void
func set_block_signals(enable: bool) -> void
func set_deferred(property: StringName, value: Variant) -> void
func set_indexed(property_path: NodePath, value: Variant) -> void
func set_message_translation(enable: bool) -> void
func set_meta(name: StringName, value: Variant) -> void
func set_script(script: Variant) -> void
func set_translation_domain(domain: StringName) -> void
func to_string() -> String
func tr(message: StringName, context: StringName = &"") -> String
func tr_n(message: StringName, plural_message: StringName, n: int, context: StringName = &"") -> String

Signals

Inherited from Object (2)