粒子连接器修改

This commit is contained in:
tianmo committed 2026-09-11 10:00:16 +08:00
1 parent bd0771747d
commit 8ab3672c4e
5 files changed
+170 -6

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ std::filesystem::path to_path(const std::string& value);
std::string platform_name();
std::string find_spine_executable();
bool valid_spine_executable(const std::string& path);
// 查询/释放连接器固定使用的本地端口。释放操作针对当前监听进程,
// 使用户可以从新打开的连接器窗口停止遗留实例或其他占用者。
bool connector_port_in_use();
bool stop_connector_port(std::string& error);
ProcessResult run_process(const std::string& executable,
const std::vector<std::string>& arguments,
const std::filesystem::path& working_directory,