🐛 更新一下
This commit is contained in:
@@ -101,7 +101,7 @@ fn main() -> wry::Result<()> {
|
|||||||
if !std::path::Path::new(&icon_path).exists() {
|
if !std::path::Path::new(&icon_path).exists() {
|
||||||
icon_path = "png/icon_32.ico".to_string();
|
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
|
common_window
|
||||||
.with_decorations(true)
|
.with_decorations(true)
|
||||||
.with_window_icon(Some(icon))
|
.with_window_icon(Some(icon))
|
||||||
|
|||||||
Reference in New Issue
Block a user