Fix ios lib build

This commit is contained in:
Ethan O'Brien
2025-11-30 12:01:25 -06:00
parent d4a5f0dd11
commit 66f97c48ee
3 changed files with 67 additions and 2 deletions

View File

@@ -7,10 +7,10 @@ pub static INITIALIZER: extern "C" fn() = main;
#[unsafe(no_mangle)]
pub extern "C" fn main() {
let data_path = get_bundle_path().into_os_string().into_string().unwrap();
android::set_datapath(data_path);
//set_datapath(data_path);
std::thread::spawn(|| {
run_server(true).unwrap();
crate::run_server(true).unwrap();
});
}