Add ability to set datapath outside of cli args

This commit is contained in:
Ethan O'Brien
2025-11-30 16:51:08 -06:00
parent 66f97c48ee
commit 60eb7d469b
5 changed files with 30 additions and 23 deletions

View File

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