From f05cf423aff9c5c97a2c8eae56f2548ed8d21d9c Mon Sep 17 00:00:00 2001 From: Tlntin Date: Tue, 27 Dec 2022 23:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 171f041..2fce32d 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -19,9 +19,7 @@ pub fn run_app() { .on_menu_event(menu_event_handle) }; #[cfg(any(target_os = "linux", target_os = "windows"))] - let tauri_app = { - tauri::Builder::default() - }; + let tauri_app = tauri::Builder::default(); tauri_app .system_tray(system_tray) .on_system_tray_event(system_tray_handle)