mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-08-26 15:02:18 +08:00
Ability to load masterdata from a folder
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user