edit/build.rs
Dustin L. Howett c44eb4297f
Some checks are pending
CI / check (ubuntu-latest) (push) Waiting to run
CI / check (windows-latest) (push) Waiting to run
Add the final icon in SVG and ICO (with the full size ramp) format (#475)
Supersedes #139

Co-authored-by: Whitecat18 <smukx@5mukx.site>
2025-06-13 01:25:03 +02:00

15 lines
530 B
Rust

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
fn main() {
#[cfg(windows)]
if std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows" {
winresource::WindowsResource::new()
.set_manifest_file("src/bin/edit/edit.exe.manifest")
.set("FileDescription", "Microsoft Edit")
.set("LegalCopyright", "© Microsoft Corporation. All rights reserved.")
.set_icon("assets/edit.ico")
.compile()
.unwrap();
}
}