chore: remove window title

This commit is contained in:
huzibaca 2024-11-26 10:11:55 +08:00
parent 71cb2a97c0
commit f8b7b82ba9
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -137,9 +137,7 @@ pub fn create_window() {
"main".to_string(), "main".to_string(),
tauri::WebviewUrl::App("index.html".into()), tauri::WebviewUrl::App("index.html".into()),
) )
.title("Clash Verge")
.visible(false) .visible(false)
.fullscreen(false)
.min_inner_size(600.0, 520.0) .min_inner_size(600.0, 520.0)
.decorations(false) .decorations(false)
.maximizable(true) .maximizable(true)
@ -155,9 +153,9 @@ pub fn create_window() {
"main".to_string(), "main".to_string(),
tauri::WebviewUrl::App("index.html".into()), tauri::WebviewUrl::App("index.html".into()),
) )
.title("Clash Verge") .decorations(true)
.visible(false) .hidden_title(true)
.fullscreen(false) .title_bar_style(tauri::TitleBarStyle::Overlay)
.min_inner_size(600.0, 520.0) .min_inner_size(600.0, 520.0)
.build() .build()
.unwrap(); .unwrap();