Alinha config do RustDesk
This commit is contained in:
parent
ef1db284fa
commit
5daa954840
2 changed files with 4 additions and 6 deletions
|
|
@ -150,15 +150,11 @@ fn write_file(path: &Path, contents: &str) -> Result<(), io::Error> {
|
|||
|
||||
fn build_config_contents() -> String {
|
||||
format!(
|
||||
r#"rendezvous_server = "{host}"
|
||||
relay_server = "{host}"
|
||||
api_server = ""
|
||||
serial = 0
|
||||
|
||||
[options]
|
||||
r#"[options]
|
||||
key = "{key}"
|
||||
relay-server = "{host}"
|
||||
custom-rendezvous-server = "{host}"
|
||||
api-server = "https://{host}"
|
||||
"#,
|
||||
host = SERVER_HOST,
|
||||
key = SERVER_KEY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue