- Implemented TXT processor for DMED files, extracting RPPSS records. - Added XLS processor for Prosoft reports, supporting both XLS and XLSX formats. - Created a comparison tool to identify discrepancies between TXT and XLS data. - Developed a GUI using eframe for user-friendly interaction. - Included detailed README documentation for setup and usage instructions. - Added error handling for file processing and improved data extraction methods. - Implemented tests for data processing functions and utilities. - Introduced a build script for Windows resource management. - Added example scripts for basic and complete comparisons. - Included a report generation feature for discrepancies found during comparisons.
14 lines
331 B
Rust
14 lines
331 B
Rust
#[cfg(windows)]
|
|
fn main() {
|
|
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("icon.ico"); // Caminho do seu arquivo .ico
|
|
res.compile().unwrap();
|
|
}
|
|
}
|
|
|
|
#[cfg(not(windows))]
|
|
fn main() {
|
|
// Não faz nada em outros sistemas
|
|
}
|