mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
mac help cards
two mac issues: 1) windows position not saved, position not got, win manager issue? 2) freeCache not found from custom cursor channel
This commit is contained in:
@@ -40,7 +40,7 @@ pub extern "C" fn rustdesk_core_main() -> bool {
|
||||
|
||||
#[cfg(windows)]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn rustdesk_core_main(args_len: *mut c_int) -> *mut *mut c_char {
|
||||
pub extern "C" fn rustdesk_core_main_args(args_len: *mut c_int) -> *mut *mut c_char {
|
||||
unsafe { std::ptr::write(args_len, 0) };
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
|
||||
@@ -483,6 +483,10 @@ pub fn main_get_option(key: String) -> String {
|
||||
get_option(key)
|
||||
}
|
||||
|
||||
pub fn main_get_error() -> String {
|
||||
get_error()
|
||||
}
|
||||
|
||||
pub fn main_set_option(key: String, value: String) {
|
||||
if key.eq("custom-rendezvous-server") {
|
||||
set_option(key, value);
|
||||
|
||||
@@ -110,7 +110,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {
|
||||
"fa" => fa::T.deref(),
|
||||
"ca" => ca::T.deref(),
|
||||
"gr" => gr::T.deref(),
|
||||
"gr" => sv::T.deref(),
|
||||
"sv" => sv::T.deref(),
|
||||
_ => en::T.deref(),
|
||||
};
|
||||
if let Some(v) = m.get(&name as &str) {
|
||||
|
||||
Reference in New Issue
Block a user