namespace LanMountainDesktop.Launcher.Services;
///
/// 主程序发现选项
///
public sealed class HostDiscoveryOptions
{
///
/// 可执行文件名(Windows 下自动添加 .exe)
///
public string ExecutableName { get; set; } = "LanMountainDesktop";
///
/// 额外的搜索路径(支持通配符)
///
public List AdditionalSearchPaths { get; set; } = new();
///
/// 是否递归搜索子目录
///
public bool RecursiveSearch { get; set; } = false;
///
/// 递归搜索的最大深度
///
public int MaxRecursionDepth { get; set; } = 3;
///
/// 环境变量名称,用于指定自定义路径
///
public string? CustomPathEnvVar { get; set; } = "LMD_HOST_PATH";
///
/// 配置文件路径(相对于 app root)
///
public string? ConfigFileName { get; set; } = "host-discovery.json";
///
/// 是否优先使用开发模式配置
///
public bool PreferDevModeConfig { get; set; } = true;
///
/// 搜索超时(毫秒)
///
public int SearchTimeoutMs { get; set; } = 5000;
}