fix: resolve Windows build error

This commit is contained in:
wonfen
2025-05-10 01:45:39 +08:00
parent 8cae9d4e0a
commit 050b363066
2 changed files with 3 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
#[cfg(target_os = "macos")]
use crate::{
config::{Config, IVerge, PrfItem},
core::*,
@@ -286,7 +285,6 @@ pub fn create_window(is_show: bool) -> bool {
.title("Clash Verge")
.center()
.decorations(true)
.hidden_title(true)
.fullscreen(false)
.inner_size(DEFAULT_WIDTH as f64, DEFAULT_HEIGHT as f64)
.min_inner_size(520.0, 520.0)