An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix ci
rustdesk56f27ec3569b
diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dartindex a74870fed..1477e306c 100644--- a/flutter/lib/desktop/pages/desktop_home_page.dart+++ b/flutter/lib/desktop/pages/desktop_home_page.dart@@ -401,7 +401,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>launchUrl(Uri.parse('https://rustdesk.com'));},child: Text(- translate("powered by RustDesk"),+ translate("powered_by_me"),overflow: TextOverflow.clip,style: Theme.of(context).textThemediff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rsindex 7431677ce..555988181 100644--- a/src/flutter_ffi.rs+++ b/src/flutter_ffi.rs@@ -1828,6 +1828,10 @@ pub fn is_outgoing_only() -> SyncReturn<bool> {SyncReturn(config::is_outgoing_only())}+pub fn is_custom_client() -> SyncReturn<bool> {+ SyncReturn(get_app_name() != "RustDesk")+}+pub fn is_disable_settings() -> SyncReturn<bool> {SyncReturn(config::is_disable_settings())}diff --git a/src/lang.rs b/src/lang.rsindex 27f2b6939..7384f1744 100644--- a/src/lang.rs+++ b/src/lang.rs@@ -158,7 +158,7 @@ pub fn translate_locale(name: String, locale: &str) -> String {s = s.replace("{}", &value);}if !crate::is_rustdesk() {- if s.contains("RustDesk") && !name.starts_with("upgrade_rustdesk_server_pro") {+ if s.contains("RustDesk") && !name.starts_with("upgrade_rustdesk_server_pro") && name != "powered_by_me" {s = s.replace("RustDesk", &crate::get_app_name());}}diff --git a/src/lang/ar.rs b/src/lang/ar.rsindex f15a3d147..28fcfe361 100644--- a/src/lang/ar.rs+++ b/src/lang/ar.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/bg.rs b/src/lang/bg.rsindex 6a038a655..7405de27d 100644--- a/src/lang/bg.rs+++ b/src/lang/bg.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ca.rs b/src/lang/ca.rsindex 01052f3db..1cfa21d1d 100644--- a/src/lang/ca.rs+++ b/src/lang/ca.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/cn.rs b/src/lang/cn.rsindex ed601e6d4..62f25dd59 100644--- a/src/lang/cn.rs+++ b/src/lang/cn.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "双重认证代码必须是 6 位数字。"),("Multiple Windows sessions found", "发现多个 Windows 会话"),("Please select the session you want to connect to", "请选择您要连接的会话"),- ("powered by RustDesk", "由 RustDesk 提供支持"),+ ("powered_by_me", "由 RustDesk 提供支持"),].iter().cloned().collect();}diff --git a/src/lang/cs.rs b/src/lang/cs.rsindex 78270b7ff..1759a36f1 100644--- a/src/lang/cs.rs+++ b/src/lang/cs.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Kód 2FA musí mít 6 číslic."),("Multiple Windows sessions found", "Bylo nalezeno více relací Windows"),("Please select the session you want to connect to", "Vyberte relaci, ke které se chcete připojit"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/da.rs b/src/lang/da.rsindex 32178a36e..39e8da0e1 100644--- a/src/lang/da.rs+++ b/src/lang/da.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/de.rs b/src/lang/de.rsindex d50fd3f3f..998b52d78 100644--- a/src/lang/de.rs+++ b/src/lang/de.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Der 2FA-Code muss 6 Ziffern haben."),("Multiple Windows sessions found", "Mehrere Windows-Sitzungen gefunden"),("Please select the session you want to connect to", "Bitte wählen Sie die Sitzung, mit der Sie sich verbinden möchten"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/el.rs b/src/lang/el.rsindex 4d369325d..983fecd1e 100644--- a/src/lang/el.rs+++ b/src/lang/el.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/eo.rs b/src/lang/eo.rsindex edf5e504e..4aa0b026e 100644--- a/src/lang/eo.rs+++ b/src/lang/eo.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/es.rs b/src/lang/es.rsindex ec48ede18..56bef7c32 100644--- a/src/lang/es.rs+++ b/src/lang/es.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "El cóidigo 2FA debe tener 6 dígitos"),("Multiple Windows sessions found", "Encontradas sesiones de múltiples ventanas"),("Please select the session you want to connect to", "Por favor, seleccione la sesión a la que se desea conectar"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/et.rs b/src/lang/et.rsindex 162e0afc4..1a70b677b 100644--- a/src/lang/et.rs+++ b/src/lang/et.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/fa.rs b/src/lang/fa.rsindex 35c3a1843..acddff67d 100644--- a/src/lang/fa.rs+++ b/src/lang/fa.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "کد احراز هویت دو مرحله ای باید 6 رقم باشد"),("Multiple Windows sessions found", "چندین جلسه پیدا شد"),("Please select the session you want to connect to", "لطفاً جلسه ای را که می خواهید به آن متصل شوید انتخاب کنید"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/fr.rs b/src/lang/fr.rsindex 117a454c9..6d11491d4 100644--- a/src/lang/fr.rs+++ b/src/lang/fr.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/hu.rs b/src/lang/hu.rsindex 5814d419d..1c4a9218d 100644--- a/src/lang/hu.rs+++ b/src/lang/hu.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/id.rs b/src/lang/id.rsindex 50583366b..6d572b4d1 100644--- a/src/lang/id.rs+++ b/src/lang/id.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/it.rs b/src/lang/it.rsindex a4359cc37..7feff1c7c 100644--- a/src/lang/it.rs+++ b/src/lang/it.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Il codice 2FA deve essere composto da 6 cifre."),("Multiple Windows sessions found", "Rilevate sessioni Windows multiple"),("Please select the session you want to connect to", "Seleziona la sessione a cui connetterti"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ja.rs b/src/lang/ja.rsindex 5d3a75d72..a0b8f5c3a 100644--- a/src/lang/ja.rs+++ b/src/lang/ja.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ko.rs b/src/lang/ko.rsindex b34e28db2..2ca9ab207 100644--- a/src/lang/ko.rs+++ b/src/lang/ko.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/kz.rs b/src/lang/kz.rsindex 1347f6baa..e2aaada02 100644--- a/src/lang/kz.rs+++ b/src/lang/kz.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/lt.rs b/src/lang/lt.rsindex f428fc92c..54ff05221 100644--- a/src/lang/lt.rs+++ b/src/lang/lt.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/lv.rs b/src/lang/lv.rsindex 3e3318ba2..7190d4634 100644--- a/src/lang/lv.rs+++ b/src/lang/lv.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "2FA kodam ir jābūt ar 6 cipariem."),("Multiple Windows sessions found", "Atrastas vairākas Windows sesijas"),("Please select the session you want to connect to", "Lūdzu, atlasiet sesiju, ar kuru vēlaties izveidot savienojumu"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/nb.rs b/src/lang/nb.rsindex 49bc5e456..79810d7e4 100644--- a/src/lang/nb.rs+++ b/src/lang/nb.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/nl.rs b/src/lang/nl.rsindex e8dd4e954..0575ea4ed 100644--- a/src/lang/nl.rs+++ b/src/lang/nl.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "2FA-code moet 6 cijfers lang zijn."),("Multiple Windows sessions found", "Meerdere Windows-sessies gevonden"),("Please select the session you want to connect to", "Selecteer de sessie waarmee je verbinding wilt maken"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/pl.rs b/src/lang/pl.rsindex e6c5cc813..320037159 100644--- a/src/lang/pl.rs+++ b/src/lang/pl.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Kod 2FA musi zawierać 6 cyfr."),("Multiple Windows sessions found", "Znaleziono wiele sesji Windows"),("Please select the session you want to connect to", "Wybierz sesję, do której chcesz się podłączyć"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rsindex 7bd2ec86e..1f978300f 100644--- a/src/lang/pt_PT.rs+++ b/src/lang/pt_PT.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rsindex 41c285f75..6392ab864 100644--- a/src/lang/ptbr.rs+++ b/src/lang/ptbr.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ro.rs b/src/lang/ro.rsindex 7a4eb11b2..9f2824831 100644--- a/src/lang/ro.rs+++ b/src/lang/ro.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ru.rs b/src/lang/ru.rsindex cb6ab5262..3d55f2539 100644--- a/src/lang/ru.rs+++ b/src/lang/ru.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Код двухфакторной аутентификации должен состоять из 6 цифр."),("Multiple Windows sessions found", "Обнаружено несколько сеансов Windows"),("Please select the session you want to connect to", "Выберите сеанс, к которому хотите подключиться"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/sk.rs b/src/lang/sk.rsindex bf327698c..8457471b6 100644--- a/src/lang/sk.rs+++ b/src/lang/sk.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Kód 2FA musí obsahovať 6 číslic."),("Multiple Windows sessions found", "Našlo sa viacero relácií systému Windows"),("Please select the session you want to connect to", "Vyberte reláciu, ku ktorej sa chcete pripojiť"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/sl.rs b/src/lang/sl.rsindex e5c458ca8..8189be16b 100755--- a/src/lang/sl.rs+++ b/src/lang/sl.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/sq.rs b/src/lang/sq.rsindex 812d561c6..74e797b2f 100644--- a/src/lang/sq.rs+++ b/src/lang/sq.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/sr.rs b/src/lang/sr.rsindex 201770c36..51b00d7db 100644--- a/src/lang/sr.rs+++ b/src/lang/sr.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/sv.rs b/src/lang/sv.rsindex 57a39cbeb..3d9c50c5c 100644--- a/src/lang/sv.rs+++ b/src/lang/sv.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/template.rs b/src/lang/template.rsindex 84ba462e5..b518a4416 100644--- a/src/lang/template.rs+++ b/src/lang/template.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/th.rs b/src/lang/th.rsindex df2d8b224..e5710f7ae 100644--- a/src/lang/th.rs+++ b/src/lang/th.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/tr.rs b/src/lang/tr.rsindex 07ad0253c..9d2335723 100644--- a/src/lang/tr.rs+++ b/src/lang/tr.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/tw.rs b/src/lang/tw.rsindex bf121e4f8..f206b8795 100644--- a/src/lang/tw.rs+++ b/src/lang/tw.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "二步驟驗證碼必須是 6 位數字。"),("Multiple Windows sessions found", "發現多個 Windows 工作階段"),("Please select the session you want to connect to", "請選擇您想要連結的工作階段"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/ua.rs b/src/lang/ua.rsindex 19424b261..936514a8e 100644--- a/src/lang/ua.rs+++ b/src/lang/ua.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", "Код двофакторної автентифікації повинен складатися з 6 символів."),("Multiple Windows sessions found", "Виявлено декілька сеансів Windows"),("Please select the session you want to connect to", "Будь ласка, оберіть сеанс, до якого ви хочете підключитися"),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}diff --git a/src/lang/vn.rs b/src/lang/vn.rsindex 15d60c3c0..968e1a176 100644--- a/src/lang/vn.rs+++ b/src/lang/vn.rs@@ -587,6 +587,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =("2FA code must be 6 digits.", ""),("Multiple Windows sessions found", ""),("Please select the session you want to connect to", ""),- ("powered by RustDesk", ""),+ ("powered_by_me", ""),].iter().cloned().collect();}