Files
ew_author/src/main.rs
Ethan O'Brien 59ac1f55c3 Remove mod flag
2026-07-24 21:16:21 -05:00

14 lines
406 B
Rust

#[cfg(not(feature = "library"))]
fn main() -> std::io::Result<()> {
let args = ew::get_args();
ew::runtime::update_data_path(&args.path);
ew::runtime::update_masterdata_path(&args.masterdata);
ew::run_server(false)
}
#[cfg(feature = "library")]
fn main() {
panic!("Compiled with the library feature! You should load the shared object library and call the exported methods there.");
}