fn main() {
// Check if we are building a test to avoid STATUS_ENTRYPOINT_NOT_FOUND on Windows
// When running unit tests, the GUI-related resources can cause ABI conflicts.
// We use a simple environment check.
let is_test = std::env::var("CARGO_PRIMARY_PACKAGE").is_err();
if !is_test {
tauri_build::build();
}
}