fix: window tiitle bar

This commit is contained in:
wonfen
2025-05-11 13:27:42 +08:00
parent 9a666d807c
commit 2b69ed4915
3 changed files with 8 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ pub fn create_window(is_show: bool) -> bool {
)
.title("Clash Verge")
.center()
.decorations(true)
.decorations(false)
.fullscreen(false)
.inner_size(DEFAULT_WIDTH as f64, DEFAULT_HEIGHT as f64)
.min_inner_size(520.0, 520.0)

View File

@@ -58,6 +58,12 @@
}
},
"app": {
"windows": [
{
"label": "main",
"titleBarStyle": "Overlay"
}
],
"security": {
"capabilities": [
"desktop-capability",