pub struct BundleSettings {
Show 14 fields pub identifier: Option<String>, pub publisher: 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.

§publisher: Option<String>

The app’s publisher. Defaults to the second element in the identifier string. Currently maps to the Manufacturer property of the Windows Installer.

§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 apps to bundle.

§external_bin: Option<Vec<String>>

External binaries to add to the bundle.

Note that each binary name should have the target platform’s target triple appended, as well as .exe for Windows. For example, if you’re bundling a sidecar called sqlite3, the bundler expects a binary named sqlite3-x86_64-unknown-linux-gnu on linux, and sqlite3-x86_64-pc-windows-gnu.exe on windows.

Run tauri build --help for more info on targets.

If you are building a universal binary for MacOS, the bundler expects your external binary to also be universal, and named after the target triple, e.g. sqlite3-universal-apple-darwin. See https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

§deb: DebianSettings

Debian-specific settings.

§macos: MacOsSettings

MacOS-specific settings.

§updater: Option<UpdaterSettings>

Updater configuration.

§windows: WindowsSettings

Windows-specific settings.

Trait Implementations§

source§

impl Clone for BundleSettings

source§

fn clone(&self) -> BundleSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BundleSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BundleSettings

source§

fn default() -> BundleSettings

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,

source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.