askrypt 0.4.5

Password manager without master password
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use winresource::WindowsResource;

fn main() {
    let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
    if target_os != "windows" {
        return;
    }
    let manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
    let mut res = WindowsResource::new();
    res.set_icon(&format!("{manifest_dir}/static/logo-128.ico"));
    res.compile().expect("failed to build executable logo");
}