🐛 tostring
This commit is contained in:
@@ -99,7 +99,7 @@ fn main() -> wry::Result<()> {
|
|||||||
let icon_path = format!("png/{}_32.ico", package_name);
|
let icon_path = format!("png/{}_32.ico", package_name);
|
||||||
// 假如没有设置,就使用默认的即可
|
// 假如没有设置,就使用默认的即可
|
||||||
if !std::path::Path::new(&icon_path).exists() {
|
if !std::path::Path::new(&icon_path).exists() {
|
||||||
icon_path = "png/icon_32.ico";
|
icon_path = "png/icon_32.ico".to_string();
|
||||||
}
|
}
|
||||||
let icon = load_icon(std::path::Path::new(&icon_path));
|
let icon = load_icon(std::path::Path::new(&icon_path));
|
||||||
common_window
|
common_window
|
||||||
|
|||||||
Reference in New Issue
Block a user