fix hide docker (can not call too early)

This commit is contained in:
rustdesk 2023-02-01 17:11:24 +08:00
parent 7e92442632
commit 5149b90e53
6 changed files with 440 additions and 260 deletions

View file

@ -88,6 +88,7 @@ Future<void> main(List<String> args) async {
debugPrint("--cm started");
desktopType = DesktopType.cm;
await windowManager.ensureInitialized();
bind.mainHideDocker();
runConnectionManagerScreen(args.contains('--hide'));
} else if (args.contains('--install')) {
runInstallPage();