mirror of
https://github.com/microsoft/edit.git
synced 2025-07-03 06:23:21 +00:00
15 lines
530 B
Rust
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();
|
|
}
|
|
}
|