From 3d05c9795be376c4f7634ac54f6a5287df617d84 Mon Sep 17 00:00:00 2001 From: Vixalie Date: Thu, 7 Aug 2025 22:17:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9A=90=E8=97=8F=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 tauri.conf.json 中添加 hiddenTitle 属性,设置为 true - 此修改实现了无标题栏的窗口样式 --- src-tauri/tauri.conf.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index d666e50..0d23989 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -18,6 +18,7 @@ "minWidth": 1200, "minHeight": 800, "resizable": true, + "hiddenTitle": true, "titleBarStyle": "Overlay", "theme": "Dark" } @@ -37,4 +38,4 @@ "icons/icon.ico" ] } -} \ No newline at end of file +}