fix: added a special rule for the docker process to show the name correctly

This commit is contained in:
Serhiy Mytrovtsiy
2025-06-23 16:24:19 +02:00
parent 32e251d8ba
commit 4a3ebe0e61

View File

@@ -203,6 +203,10 @@ public class ProcessReader: Reader<[TopProcess]> {
name = n
}
if command.contains("com.apple.Virtua") && name.contains("Docker") {
name = "Docker"
}
return TopProcess(pid: pid, name: name, usage: usage * Double(1000 * 1000))
}
}