mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: enabled HID sensors for macs with M1 by default
This commit is contained in:
@@ -214,3 +214,9 @@ public var isARM: Bool {
|
||||
return value
|
||||
}
|
||||
}
|
||||
|
||||
public var isM1: Bool {
|
||||
get {
|
||||
return SystemKit.shared.device.info.cpu?.name == "Apple M1" ? true : false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user