2022-02-20 17:12:40 +00:00
|
|
|
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();
|
2022-06-02 20:26:10 +00:00
|
|
|
res.set_manifest_file("starship.exe.manifest")
|
|
|
|
.set_icon("media/icon.ico");
|
2022-02-20 17:12:40 +00:00
|
|
|
res.compile()?;
|
|
|
|
}
|
|
|
|
|
|
|
|
Ok(())
|
2021-01-22 19:14:51 +00:00
|
|
|
}
|