Merge branch 'master' into feature/pake-cli

Signed-off-by: Tlntin <TlntinDeng01@Gmail.com>
This commit is contained in:
Tlntin
2022-11-22 11:47:40 +08:00
committed by GitHub
4 changed files with 6 additions and 8 deletions

View File

@@ -118,9 +118,7 @@ fn main() -> wry::Result<()> {
})
.with_inner_size(wry::application::dpi::LogicalSize::new(width, height));
#[cfg(target_os = "windows")]
let icon_path = concat!(env!("CARGO_MANIFEST_DIR"), "/png/weread_32.ico");
#[cfg(target_os = "windows")]
let icon = load_icon(std::path::Path::new(icon_path));
let icon = load_icon(std::path::Path::new("png/weread_32.ico"));
#[cfg(target_os = "windows")]
let window = common_window

View File

@@ -52,7 +52,7 @@
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"resources": ["png/weread_32.ico"],
"shortDescription": "",
"targets": ["deb", "msi", "dmg"],
"windows": {