From fd7cb9a1a00743690da94943f4aa7b7f6e96e7ab Mon Sep 17 00:00:00 2001 From: AugusMeow <34206897+DrAugus@users.noreply.github.com> Date: Thu, 23 Jun 2022 16:57:05 +0800 Subject: [PATCH] fix: macos build --- src-tauri/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 6b9664f..8cbc3b1 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -3,7 +3,7 @@ all(not(debug_assertions), target_os = "windows"), windows_subsystem = "windows" )] -use tauri::{Manager, Window, SystemTray, SystemTrayMenu, SystemTrayMenuItem, CustomMenuItem, Menu, MenuItem, Submenu}; +use tauri::{Manager, Window, SystemTray, SystemTrayMenu, SystemTrayMenuItem, CustomMenuItem, Menu, MenuItem, Submenu, AboutMetadata}; // the payload type must implement `Serialize` and `Clone`. #[derive(Clone, serde::Serialize)]