Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
18 lines
470 B
Rust
18 lines
470 B
Rust
//! Desktop client.
|
|
|
|
// Release builds on Windows are GUI programs (no console window); debug
|
|
// builds keep the console for logs.
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
use anyhow::Result;
|
|
use tracing_subscriber::EnvFilter;
|
|
|
|
fn main() -> Result<()> {
|
|
tracing_subscriber::fmt()
|
|
.with_env_filter(
|
|
EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("warn")),
|
|
)
|
|
.init();
|
|
tsc_ui::run(tsc_ui::RunOptions::default())
|
|
}
|