mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-07-14 11:00:22 +03:00
fix codegen on non-macOS platforms
This commit is contained in:
parent
82cd400e55
commit
d1b5be7a08
@ -356,7 +356,7 @@ pub fn context_codegen(data: ContextData) -> Result<TokenStream, EmbeddedAssetsE
|
||||
.expect("failed to write Info.plist");
|
||||
|
||||
let info_plist_path = out_path.display().to_string();
|
||||
quote!(tauri::embed_plist::embed_info_plist!(#info_plist_path);)
|
||||
quote!(tauri::embed_plist::embed_info_plist!(#info_plist_path))
|
||||
} else {
|
||||
quote!()
|
||||
};
|
||||
@ -439,7 +439,7 @@ pub fn context_codegen(data: ContextData) -> Result<TokenStream, EmbeddedAssetsE
|
||||
let shell_scope_config = quote!();
|
||||
|
||||
Ok(quote!({
|
||||
#info_plist
|
||||
#info_plist;
|
||||
#root::Context::new(
|
||||
#config,
|
||||
::std::sync::Arc::new(#assets),
|
||||
|
Loading…
Reference in New Issue
Block a user