askrypt 0.5.0

Password manager without master password
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_with_id(
        &format!("{manifest_dir}/static/logo-128.ico"),
        "main-exe-icon",
    );
    res.compile().expect("failed to build executable logo");
}