12 lines
366 B
Rust
12 lines
366 B
Rust
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
fn main() {
|
|
if std::env::args().any(|argument| argument == "--connector") {
|
|
if let Err(error) = hololake_native_desktop_lib::run_connector() {
|
|
eprintln!("{error}");
|
|
std::process::exit(1);
|
|
}
|
|
return;
|
|
}
|
|
hololake_native_desktop_lib::run();
|
|
}
|