Add the (currently android) easter mode

This commit is contained in:
Ethan O'Brien
2025-11-30 17:26:26 -06:00
parent 60eb7d469b
commit ad0d222c96
8 changed files with 110 additions and 102 deletions

View File

@@ -7,7 +7,7 @@ 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();
crate::runtime::update_data_path(data_path);
crate::runtime::update_data_path(&data_path);
std::thread::spawn(|| {
crate::run_server(true).unwrap();