mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-10-06 12:03:18 +00:00
missed file
This commit is contained in:
1 parent
46f29f41af
commit
f2eb73ce8e
1 file changed
+4
@@ -718,6 +718,10 @@ pub fn main_get_local_option(key: String) -> SyncReturn<String> {
|
||||
SyncReturn(get_local_option(key))
|
||||
}
|
||||
|
||||
pub fn main_get_env(key: String) -> SyncReturn<String> {
|
||||
SyncReturn(std::env::var(key).unwrap_or_default())
|
||||
}
|
||||
|
||||
pub fn main_set_local_option(key: String, value: String) {
|
||||
set_local_option(key, value)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user