move windows uni registery out from here, because it should only work

for installed rustdesk
todo: start too slow, need to remove some wait
This commit is contained in:
rustdesk 2023-06-04 23:07:10 +08:00
parent acb4bb9d4d
commit f4bdfb6936

View File

@ -1482,11 +1482,6 @@ Future<bool> initUniLinks() async {
if (Platform.isLinux) { if (Platform.isLinux) {
return false; 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 // check cold boot
try { try {
final initialLink = await getInitialLink(); final initialLink = await getInitialLink();