Ability to load masterdata from a folder

This commit is contained in:
Ethan O'Brien
2026-05-10 11:40:04 -05:00
parent 95c31f9e54
commit e9c84be5fa
5 changed files with 83 additions and 11 deletions

View File

@@ -1,7 +1,9 @@
#[cfg(not(feature = "library"))]
fn main() -> std::io::Result<()> {
ew::runtime::update_data_path(&ew::get_args().path);
let args = ew::get_args();
ew::runtime::update_data_path(&args.path);
ew::runtime::update_masterdata_path(&args.masterdata);
ew::run_server(false)
}