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 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.
An empty string is considered an invalid value so the default value is used.
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.
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 Eq for MacConfig
impl StructuralEq for MacConfig
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more