edit/build.rs
2025-04-08 23:29:44 +02:00

13 lines
426 B
Rust

fn main() {
if std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows" {
winres::WindowsResource::new()
.set_manifest_file("src/edit.exe.manifest")
.set("FileDescription", "Microsoft Edit")
.set(
"LegalCopyright",
"© Microsoft Corporation. All rights reserved.",
)
.compile()
.unwrap();
}
}