Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

hide-powered-by-me

rustdesk294ffcd9d3b5
diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart
index ccb4f7fb0..85f2f5c65 100644
--- a/flutter/lib/common.dart
+++ b/flutter/lib/common.dart
@@ -2317,7 +2317,8 @@ List<String>? urlLinkToCmdArgs(Uri uri) {
if (isMobile) {
if (id != null) {
final forceRelay = queryParameters["relay"] != null;
- connect(Get.context!, id, forceRelay: forceRelay, password: queryParameters["password"]);
+ connect(Get.context!, id,
+ forceRelay: forceRelay, password: queryParameters["password"]);
return null;
}
}
@@ -3446,6 +3447,9 @@ Color? disabledTextColor(BuildContext context, bool enabled) {
}
Widget loadPowered(BuildContext context) {
+ if (bind.mainGetBuildinOption(key: "hide-powered-by-me") == 'Y') {
+ return SizedBox.shrink();
+ }
return MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector(