mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix info_plist usage
This commit is contained in:
@@ -373,10 +373,10 @@ pub fn context_codegen(data: ContextData) -> Result<TokenStream, EmbeddedAssetsE
|
||||
let info_plist_path = out_path.display().to_string();
|
||||
quote!(::tauri_utils::embed_plist::embed_info_plist!(#info_plist_path);)
|
||||
} else {
|
||||
quote!()
|
||||
TokenStream::new()
|
||||
};
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
let info_plist = quote!(());
|
||||
let info_plist = TokenStream::new();
|
||||
|
||||
let pattern = match &options.pattern {
|
||||
PatternKind::Brownfield => quote!(#root::Pattern::Brownfield(std::marker::PhantomData)),
|
||||
|
||||
Reference in New Issue
Block a user