From 06345bf5dbb57d74e8eb86428f9bdbbf5538d9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Sun, 27 Oct 2024 13:09:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8Drelease?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 fbcd23e4..3fc58aa7 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -50,8 +50,8 @@ fn main() { .plugin(tauri_plugin_sql::Builder::default().build()) .plugin(build_log_plugin()) .setup(|_app| { - #[cfg(debug_assertions)] let _window = _app.get_webview_window("TeyvatGuide"); + #[cfg(debug_assertions)] if _window.is_some() { _window.unwrap().open_devtools(); }