Initial commit

This commit is contained in:
2026-03-20 00:21:32 +01:00 Verified
commit 9592d05744
9 changed files with 195 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#[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() {}