mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: added omit for disk that have 0 total space (#2122)
This commit is contained in:
@@ -73,6 +73,7 @@ internal class CapacityReader: Reader<Disks> {
|
||||
d.size = self.totalDiskSpaceInBytes(path)
|
||||
}
|
||||
d.smart = self.getSMARTDetails(for: BSDName)
|
||||
guard d.size != 0 else { continue }
|
||||
self.list.append(d)
|
||||
self.list.sort()
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>588</string>
|
||||
<string>594</string>
|
||||
<key>Description</key>
|
||||
<string>Simple macOS system monitor in your menu bar</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.11.9</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>588</string>
|
||||
<string>594</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionPointIdentifier</key>
|
||||
|
||||
Reference in New Issue
Block a user