🐛 更新一下

This commit is contained in:
Tw93
2023-01-07 22:19:45 +08:00
parent f360f76510
commit 1f54645469

View File

@@ -101,7 +101,7 @@ fn main() -> wry::Result<()> {
if !std::path::Path::new(&icon_path).exists() {
icon_path = "png/icon_32.ico".to_string();
}
let icon = load_icon(std::path::Path::new(&mut icon_path));
let icon = load_icon(std::path::Path::new(&icon_path));
common_window
.with_decorations(true)
.with_window_icon(Some(icon))