rust-pipes 0.2.0

A remake of the 3D Pipes Screensaver from Windows 98 in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::io;

#[cfg(target_os = "windows")]
fn main() -> io::Result<()> {
    if cfg!(target_os = "windows") && !cfg!(test) {
        let mut res = winres::WindowsResource::new();
        res.set_icon("src/icon.ico")
            .set("InternalName", "rust-pipes.exe");
        res.compile()?;
    }

    Ok(())
}

#[cfg(not(target_os = "windows"))]
fn main() -> io::Result<()> {
    Ok(())
}