keepawake 0.3.0

Keep your computer awake
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {
    shadow_rs::new()?;

    if cfg!(target_os = "windows") {
        winres::WindowsResource::new()
            .set_manifest_file("keepawake.exe.manifest")
            .compile()?;
    }

    Ok(())
}