Struct tauri_bundler::bundle::BundleSettings[][src]

pub struct BundleSettings {
Show fields pub identifier: Option<String>, pub icon: Option<Vec<String>>, pub resources: Option<Vec<String>>, pub copyright: Option<String>, pub category: Option<AppCategory>, pub short_description: Option<String>, pub long_description: Option<String>, pub bin: Option<HashMap<String, BundleSettings>>, pub external_bin: Option<Vec<String>>, pub deb: DebianSettings, pub macos: MacOsSettings, pub updater: Option<UpdaterSettings>, pub windows: WindowsSettings,
}
Expand description

The bundle settings of the BuildArtifact we’re bundling.

Fields

identifier: Option<String>

the app’s identifier.

icon: Option<Vec<String>>

the app’s icon list.

resources: Option<Vec<String>>

the app’s resources to bundle.

each item can be a path to a file or a path to a folder.

supports glob patterns.

copyright: Option<String>

the app’s copyright.

category: Option<AppCategory>

the app’s category.

short_description: Option<String>

the app’s short description.

long_description: Option<String>

the app’s long description.

bin: Option<HashMap<String, BundleSettings>>

Configuration map for the possible [bin] apps to bundle.

external_bin: Option<Vec<String>>

External binaries to add to the bundle.

Note that each binary name will have the target platform’s target triple appended, so if you’re bundling the sqlite3 app, the bundler will look for e.g. sqlite3-x86_64-unknown-linux-gnu on linux, and sqlite3-x86_64-pc-windows-gnu.exe on windows.

The possible target triples can be seen by running $ rustup target list.

deb: DebianSettings

Debian-specific settings.

macos: MacOsSettings

MacOS-specific settings.

updater: Option<UpdaterSettings>

Updater configuration.

windows: WindowsSettings

Windows-specific settings.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.