mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-01-12 16:22:36 +08:00
Fix ios lib build
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user