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 hardened_runtime: bool,
pub provider_short_name: Option<String>,
pub entitlements: Option<String>,
}
Expand description
Configuration for the macOS bundles.
See more: https://tauri.app/v1/api/config#macconfig
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.
hardened_runtime: bool
Whether the codesign should enable hardened runtime (for executables) or not.
provider_short_name: Option<String>
Provider short name for notarization.
entitlements: Option<String>
Path to the entitlements file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for MacConfig
impl<'de> Deserialize<'de> for MacConfig
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>,
impl Eq for MacConfig
impl StructuralPartialEq for MacConfig
Auto Trait Implementations§
impl Freeze for MacConfig
impl RefUnwindSafe for MacConfig
impl Send for MacConfig
impl Sync for MacConfig
impl Unpin for MacConfig
impl UnwindSafe for MacConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.