Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix ci

rustdesk262814391a9f
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs
index 95d1314c7..703c98b0b 100644
--- a/libs/hbb_common/src/config.rs
+++ b/libs/hbb_common/src/config.rs
@@ -1544,7 +1544,7 @@ impl UserDefaultConfig {
cfg.0.get(key)
}
- fn load() -> UserDefaultConfig {
+ pub fn load() -> UserDefaultConfig {
Config::load_::<UserDefaultConfig>("_default")
}
@@ -1553,7 +1553,7 @@ impl UserDefaultConfig {
Config::store_(self, "_default");
}
- fn get(&self, key: &str) -> String {
+ pub fn get(&self, key: &str) -> String {
match key {
"view_style" => self.get_string(key, "original", vec!["adaptive"]),
"scroll_style" => self.get_string(key, "scrollauto", vec!["scrollbar"]),