opt: more debug info

This commit is contained in:
Kingtous
2023-02-07 19:33:58 +08:00
parent db8b6d618f
commit c4b1c51e9e
3 changed files with 7 additions and 6 deletions

View File

@@ -114,9 +114,6 @@ Future<void> initEnv(String appType) async {
_registerEventHandler();
// Update the system theme.
updateSystemWindowTheme();
if (appType == kAppTypeConnectionManager) {
await bind.cmStartListenIpcThread();
}
}
void runMainApp(bool startService) async {
@@ -219,6 +216,7 @@ void runMultiWindow(
void runConnectionManagerScreen(bool hide) async {
await initEnv(kAppTypeConnectionManager);
await bind.cmStartListenIpcThread();
_runApp(
'',
const DesktopServerPage(),