🍕 Sync 2026-06-10 14:14:07

This commit is contained in:
github-actions[bot] committed 2026-06-10 14:14:07 +08:00
1 parent b567458c53
commit 40792d98e2
15 files changed
+44 -39

No files matched your search

@@ -1,6 +1,6 @@
--- a/libs/hbb_common/src/config.rs
+++ b/libs/hbb_common/src/config.rs
@@ -403,36 +403,6 @@ pub fn get_online_state() -> i64 {
@@ -396,36 +396,6 @@ pub fn get_online_state() -> i64 {
*ONLINE.lock().unwrap().values().max().unwrap_or(&0)
}
@@ -37,7 +37,7 @@
impl Config2 {
fn load() -> Config2 {
let mut config = Config::load_::<Config2>("2");
@@ -608,15 +578,7 @@ impl Config {
@@ -601,15 +571,7 @@ impl Config {
#[cfg(any(target_os = "android", target_os = "ios"))]
return PathBuf::from(APP_HOME_DIR.read().unwrap().as_str());
#[cfg(not(any(target_os = "android", target_os = "ios")))]
@@ -54,7 +54,7 @@
}
pub fn path<P: AsRef<Path>>(p: P) -> PathBuf {
@@ -628,19 +590,12 @@ impl Config {
@@ -621,19 +583,12 @@ impl Config {
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
{