modified: src/lib.rs

This commit is contained in:
Michael Wain 2024-09-20 03:24:29 +03:00
parent c0781fbddb
commit 4ef80aafee

View File

@ -48,7 +48,7 @@ pub mod android {
Ok(string) => string,
};
let config: ClientConfiguration = serde_yaml::from_slice(RFC4648.decode(cfg_raw.as_bytes()).unwrap()).expect("Bad client config file structure");
let config: ClientConfiguration = serde_yaml::from_slice(RFC4648.decode(cfg_raw.as_bytes()).unwrap().as_slice()).expect("Bad client config file structure");
//client::client_mode(config);
//let output = env.new_string("gabber").expect("Couldn't create java string!");