mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
chore: remove window title
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user