wenxiangchao
3 天以前 b544d5cccd76735e034c8055918a50927b437474
Plugin.IntegrationTest/MainWindow.xaml.cs
@@ -721,6 +721,13 @@
        {
            try
            {
                // 检查是否已有 DeviceBroker 进程在运行(避免多实例争抢管道/arb.db)
                if (System.Diagnostics.Process.GetProcessesByName("DeviceBroker").Length > 0)
                {
                    Log("[INFO] DeviceBroker 宿主已在运行,跳过启动");
                    return;
                }
                var model = new DeviceConfigModel();
                string dbPath = Path.Combine(_testDir, "data.db");
                if (!File.Exists(dbPath)) return;