KiThe 0.2.18

A numerical suite for chemical kinetics and thermodynamics, combustion, heat and mass transfer,chemical engeneering. Work in progress. Advices and contributions will be appreciated
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn main() {
    #[cfg(windows)]
    {
        if std::path::Path::new("src/assets/icon.ico").exists() {
            let mut res = winres::WindowsResource::new();
            res.set_icon("src/assets/icon.ico");
            if let Err(e) = res.compile() {
                println!("cargo:warning=Failed to compile icon resource: {}", e);
            }
        } else {
            println!(
                "cargo:warning=Icon file 'src/assets/icon.ico' not found. Skipping icon embedding."
            );
        }
    }
}