mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-01-12 08:12:36 +08:00
Add ability to set datapath outside of cli args
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user