#![cfg_attr(
all(target_os = "windows", not(debug_assertions)),
windows_subsystem = "windows"
)]
#[cfg(target_os = "windows")]
mod app;
#[cfg(target_os = "windows")]
mod klp_client;
#[cfg(target_os = "windows")]
fn main() {
tracing_subscriber::fmt()
.with_env_filter(
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| "kanade_client=info".into()),
)
.init();
app::run();
}
#[cfg(not(target_os = "windows"))]
fn main() {
eprintln!("kanade-client is Windows-only in this build (Linux UDS variant is a follow-up PR).");
std::process::exit(1);
}