From 4eb031af95258718437dd717e7b9bc6980a0e143 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sat, 5 Aug 2023 08:43:41 -0300 Subject: [PATCH] fix macos build --- core/tauri/src/menu/menu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tauri/src/menu/menu.rs b/core/tauri/src/menu/menu.rs index 4735bc4b02c7..9d48d2b78c4d 100644 --- a/core/tauri/src/menu/menu.rs +++ b/core/tauri/src/menu/menu.rs @@ -131,7 +131,7 @@ impl Menu { #[cfg(target_os = "macos")] &PredefinedMenuItem::separator(app_handle), &PredefinedMenuItem::close_window(app_handle, None), - &PredefinedMenuItem::about(app_handle, None, Some(about_metadata)), + &PredefinedMenuItem::about(app_handle, None, Some(about_metadata.clone())), ], )?; @@ -144,7 +144,7 @@ impl Menu { pkg_info.name.clone(), true, &[ - &PredefinedMenuItem::about(app_handle, None, Some(about_metadata.clone())), + &PredefinedMenuItem::about(app_handle, None, Some(about_metadata)), &PredefinedMenuItem::separator(app_handle), &PredefinedMenuItem::services(app_handle, None), &PredefinedMenuItem::separator(app_handle),