服务器,中继服务器,KEY修改位置如下
++libs\hbb_common\src\config.rs++
pub const RENDEZVOUS_SERVERS: &[&str] = &["自己的服务器IP或者域名"];
pub const RS_PUB_KEY: &str = "自己的key";
固定密码修改位置如下:
++libs\hbb_common\src\config.rs++
pub static ref HARD_SETTINGS: RwLock<HashMap<String, String>> = Default::default();
将上面的行替换为
pub static ref HARD_SETTINGS: RwLock<HashMap<String, String>> = {
let mut map = HashMap::new();
map.insert("password".to_string(), "自定义密码".to_string());
RwLock::new(map)
};
API服务器地址修改位置如下
++src\common.rs++
"https://admin.rustdesk.com".to_owned()
将上面的内容替换为
"自己的API服务器地址,注意要带http以及https以及端口号".to_owned()