Struct tauri_utils::config::MacConfig
source · [−]pub struct MacConfig {
pub frameworks: Option<Vec<String>>,
pub minimum_system_version: Option<String>,
pub exception_domain: Option<String>,
pub license: Option<String>,
pub use_bootstrapper: bool,
pub signing_identity: Option<String>,
pub provider_short_name: Option<String>,
pub entitlements: Option<String>,
}Expand description
Configuration for the macOS bundles.
Fields
frameworks: Option<Vec<String>>A list of strings indicating any macOS X frameworks that need to be bundled with the application.
If a name is used, “.framework” must be omitted and it will look for standard install locations. You may also use a path to a specific framework.
minimum_system_version: Option<String>A version string indicating the minimum macOS X version that the bundled application supports. Defaults to 10.13.
Setting it to null completely removes the LSMinimumSystemVersion field on the bundle’s Info.plist
and the MACOSX_DEPLOYMENT_TARGET environment variable.
exception_domain: Option<String>Allows your application to communicate with the outside world. It should be a lowercase, without port and protocol domain name.
license: Option<String>The path to the license file to add to the DMG bundle.
use_bootstrapper: boolEnable the boostrapper script.
signing_identity: Option<String>Identity to use for code signing.
provider_short_name: Option<String>Provider short name for notarization.
entitlements: Option<String>Path to the entitlements file.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for MacConfig
impl<'de> Deserialize<'de> for MacConfig
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MacConfig
Auto Trait Implementations
impl RefUnwindSafe for MacConfig
impl Send for MacConfig
impl Sync for MacConfig
impl Unpin for MacConfig
impl UnwindSafe for MacConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more