pub struct AppImageConfig {Show 13 fields
pub id: Option<String>,
pub ids: Option<Vec<String>>,
pub filename: Option<String>,
pub name: Option<String>,
pub desktop: Option<String>,
pub icon: Option<String>,
pub appdir_extra: Option<Vec<AppImageExtra>>,
pub update_information: Option<String>,
pub runtime_harvest: Option<RuntimeHarvest>,
pub extra_args: Option<Vec<String>>,
pub os: Option<Vec<String>>,
pub arch: Option<Vec<String>>,
pub skip: Option<StringOrBool>,
}Expand description
AppImage packaging configuration.
Drives the AppImage stage, which bundles a built
Linux binary plus its desktop integration (a .desktop entry + icon) into
a single self-contained, runnable .AppImage file via
linuxdeploy’s appimage
output plugin. One .AppImage is produced per matching Linux target so a
multi-arch build yields distinct, non-colliding outputs.
YAML:
appimages:
- id: helix
ids: [helix-bin]
desktop: contrib/Helix.desktop
icon: contrib/helix.png
appdir_extra:
- src: runtime/
dst: usr/lib/helix/runtime
update_information: "gh-releases-zsync|helix-editor|helix|latest|helix-*.AppImage.zsync"
runtime_harvest:
command: "{{ ArtifactPath }} --populate-runtime {{ HarvestDir }}"
dir: runtime/Fields§
§id: Option<String>Unique identifier for this AppImage config (default: “default”).
ids: Option<Vec<String>>Build IDs filter: only bundle binaries whose id is in this list.
When omitted, every Linux binary in the build matrix is eligible.
filename: Option<String>Output filename template (default includes project, version, os, arch).
The .AppImage extension is appended automatically when absent.
name: Option<String>Application name passed to linuxdeploy via the APP env var and used
as the AppDir basename. Defaults to the project name.
desktop: Option<String>Path to the .desktop entry file (template). Required — linuxdeploy
will not assemble an AppImage without a desktop file.
icon: Option<String>Path to the application icon (template). Required.
appdir_extra: Option<Vec<AppImageExtra>>Extra files / directories copied into the AppDir before linuxdeploy
runs (e.g. a harvested runtime/ tree). Each entry’s dst is
interpreted relative to the AppDir root.
update_information: Option<String>zsync delta-update metadata embedded in the AppImage, passed to
linuxdeploy via the UPDATE_INFORMATION env var. When omitted, the
AppImage carries no update information and UPDATE_INFORMATION is
left unset (matching linuxdeploy’s default).
runtime_harvest: Option<RuntimeHarvest>Runtime-asset harvest hook: run the freshly-built binary ONCE on the host to populate a directory, then bundle that directory into the AppDir. The harvested data is architecture-independent (grammars, themes, queries), so it is produced once on the host-native binary and reused for every target’s AppImage.
extra_args: Option<Vec<String>>Extra arguments appended to the linuxdeploy command line.
os: Option<Vec<String>>Target OS filter (default: [“linux”]). AppImage is a Linux-only format.
arch: Option<Vec<String>>Target architecture filter. When omitted, every architecture in the
build matrix produces its own .AppImage.
skip: Option<StringOrBool>Skip this config. Accepts bool or template string.
Trait Implementations§
Source§impl Clone for AppImageConfig
impl Clone for AppImageConfig
Source§fn clone(&self) -> AppImageConfig
fn clone(&self) -> AppImageConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AppImageConfig
impl Debug for AppImageConfig
Source§impl Default for AppImageConfig
impl Default for AppImageConfig
Source§fn default() -> AppImageConfig
fn default() -> AppImageConfig
Source§impl<'de> Deserialize<'de> for AppImageConfigwhere
AppImageConfig: Default,
impl<'de> Deserialize<'de> for AppImageConfigwhere
AppImageConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for AppImageConfig
impl JsonSchema for AppImageConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more