mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed RAM top processes reader regex (#1145)
This commit is contained in:
@@ -145,7 +145,7 @@ public class ProcessReader: Reader<[TopProcess]> {
|
||||
|
||||
var processes: [TopProcess] = []
|
||||
output.enumerateLines { (line, _) -> Void in
|
||||
if line.matches("^\\d+ +.* +\\d+[A-Z]*\\+?\\-? *$") {
|
||||
if line.matches("^\\d+\\** +.* +\\d+[A-Z]*\\+?\\-? *$") {
|
||||
processes.append(ProcessReader.parseProcess(line))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>412</string>
|
||||
<string>415</string>
|
||||
<key>Description</key>
|
||||
<string>Simple macOS system monitor in your menu bar</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
Reference in New Issue
Block a user