summaryrefslogtreecommitdiffstats
path: root/build.rs
blob: f6c7693559e13bb6b859d79648997862731e85be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {
    shadow_rs::new().map_err(|err| err.to_string())?;

    #[cfg(windows)]
    {
        let mut res = winres::WindowsResource::new();
        res.set_manifest_file("starship.exe.manifest");
        res.compile()?;
    }

    Ok(())
}