mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: show pid when process name is not available in the Network top processes (#744)
This commit is contained in:
@@ -368,6 +368,10 @@ public class ProcessReader: Reader<[Network_Process]> {
|
||||
process.name = nameArray.dropLast().joined(separator: ".")
|
||||
}
|
||||
|
||||
if process.name == "" {
|
||||
process.name = process.pid
|
||||
}
|
||||
|
||||
if let download = Int(parsedLine[1]) {
|
||||
process.download = download
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>331</string>
|
||||
<string>332</string>
|
||||
<key>Description</key>
|
||||
<string>Simple macOS system monitor in your menu bar</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
Reference in New Issue
Block a user