mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
v2.12.8
This commit is contained in:
@@ -103,21 +103,6 @@ extension String: @retroactive LocalizedError {
|
||||
}
|
||||
}
|
||||
|
||||
public extension DispatchSource.MemoryPressureEvent {
|
||||
func pressureColor() -> NSColor {
|
||||
switch self {
|
||||
case .normal:
|
||||
return NSColor.systemGreen
|
||||
case .warning:
|
||||
return NSColor.systemYellow
|
||||
case .critical:
|
||||
return NSColor.systemRed
|
||||
default:
|
||||
return .controlAccentColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public extension Double {
|
||||
func roundTo(decimalPlaces: Int) -> String {
|
||||
return NSString(format: "%.\(decimalPlaces)f" as NSString, self) as String
|
||||
|
||||
@@ -405,7 +405,7 @@ public enum RAMPressure: String, Codable {
|
||||
case warning
|
||||
case critical
|
||||
|
||||
func pressureColor() -> NSColor {
|
||||
public func pressureColor() -> NSColor {
|
||||
switch self {
|
||||
case .normal:
|
||||
return NSColor.systemGreen
|
||||
|
||||
@@ -2875,7 +2875,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.5;
|
||||
MARKETING_VERSION = 2.12.7;
|
||||
MARKETING_VERSION = 2.12.8;
|
||||
OTHER_LDFLAGS = "";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@@ -2912,7 +2912,7 @@
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.5;
|
||||
MARKETING_VERSION = 2.12.7;
|
||||
MARKETING_VERSION = 2.12.8;
|
||||
OTHER_LDFLAGS = "";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>781</string>
|
||||
<string>782</string>
|
||||
<key>Description</key>
|
||||
<string>Simple macOS system monitor in your menu bar</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.12.7</string>
|
||||
<string>2.12.8</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>781</string>
|
||||
<string>782</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionPointIdentifier</key>
|
||||
|
||||
Reference in New Issue
Block a user