An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
opt assert for debug (#12420)
21pages2282c8e30897
diff --git a/flutter/lib/common.dart b/flutter/lib/common.dartindex f54b88e88..fda3f84e3 100644--- a/flutter/lib/common.dart+++ b/flutter/lib/common.dart@@ -1583,7 +1583,9 @@ String bool2option(String option, bool b) {option == kOptionForceAlwaysRelay) {res = b ? 'Y' : defaultOptionNo;} else {- assert(false);+ if (option != kOptionEnableUdpPunch && option != kOptionEnableIpv6Punch) {+ assert(false);+ }res = b ? 'Y' : 'N';}return res;