From f4bdfb6936ae4804fc8ab1cf560db192622ad01a Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sun, 4 Jun 2023 23:07:10 +0800 Subject: [PATCH] move windows uni registery out from here, because it should only work for installed rustdesk todo: start too slow, need to remove some wait --- flutter/lib/common.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index bd5005ffa..3b4b38c60 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1482,11 +1482,6 @@ Future initUniLinks() async { if (Platform.isLinux) { return false; } - // Register uni links for Windows. The required info of url scheme is already - // declared in `Info.plist` for macOS. - if (Platform.isWindows) { - registerProtocol('rustdesk'); - } // check cold boot try { final initialLink = await getInitialLink();