feat_account: mid commit

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2022-11-07 15:20:15 +08:00
1 parent 3454454bd5
commit 87e53501e3
8 files changed
+536 -50

No files matched your search

+10
View File
@@ -13,6 +13,8 @@ use hbb_common::{
fs, log,
};
// use crate::hbbs_http::account::AuthResult;
use crate::flutter::{self, SESSIONS};
#[cfg(target_os = "android")]
use crate::start_server;
@@ -1082,6 +1084,14 @@ pub fn install_install_path() -> SyncReturn<String> {
SyncReturn(install_path())
}
pub fn main_account_auth(op: String) {
account_auth(op);
}
pub fn main_account_auth_result() -> String {
account_auth_result()
}
#[cfg(target_os = "android")]
pub mod server_side {
use jni::{