mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
feat: changed minimum macOS version to macOS 11.15 (Big Sur)
This commit is contained in:
@@ -225,8 +225,6 @@ internal class DevicesReader: Reader<[BLEDevice]>, CBCentralManagerDelegate, CBP
|
||||
// MARK: - system_profiler
|
||||
|
||||
private func profilerDevices() -> ([bleDevice], [String]) {
|
||||
if #unavailable(macOS 11) { return ([], []) }
|
||||
|
||||
guard let res = process(path: "/usr/sbin/system_profiler", arguments: ["SPBluetoothDataType", "-json"]) else {
|
||||
return ([], [])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user