mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added M2 sensors support (#1012)
This commit is contained in:
@@ -219,12 +219,6 @@ public var isARM: Bool {
|
||||
}
|
||||
}
|
||||
|
||||
public var isM1: Bool {
|
||||
get {
|
||||
return SystemKit.shared.device.info.cpu?.name == "Apple M1" ? true : false
|
||||
}
|
||||
}
|
||||
|
||||
public let notificationLevels: [KeyValue_t] = [
|
||||
KeyValue_t(key: "Disabled", value: "Disabled"),
|
||||
KeyValue_t(key: "10%", value: "10%"),
|
||||
|
||||
Reference in New Issue
Block a user