Files
python-runner/build.rs
T

23 lines
697 B
Rust

#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
// Attach your icon (Make sure py.ico is in the same folder as Cargo.toml)
res.set_icon("py.ico");
// Map your versioninfo.txt data
res.set("CompanyName", "Soderberg Tech");
res.set("FileDescription", "Python Executor");
res.set("FileVersion", "1.0.0.0");
res.set("InternalName", "python_executor.exe");
res.set("LegalCopyright", "© Soderberg Tech. All rights reserved.");
res.set("OriginalFilename", "python_executor.exe");
res.set("ProductName", "Python Executor");
res.set("ProductVersion", "1.0.0.0");
res.compile().unwrap();
}
#[cfg(not(windows))]
fn main() {}