feat(windows): run as a real SCM service, not a Run-key autostart #107

Merged
razvandimescu merged 16 commits from feat/windows-service into main 2026-04-17 07:02:43 +08:00
Showing only changes of commit d3eab73a31 - Show all commits

View File

@@ -211,7 +211,7 @@ fn discover_macos() -> SystemDnsInfo {
} }
// Sort longest suffix first for most-specific matching // Sort longest suffix first for most-specific matching
rules.sort_by(|a, b| b.suffix.len().cmp(&a.suffix.len())); rules.sort_by_key(|r| std::cmp::Reverse(r.suffix.len()));
for rule in &rules { for rule in &rules {
info!( info!(