mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added a new way to detect a mac model (if missed on the list)
This commit is contained in:
@@ -105,6 +105,10 @@ extension String: LocalizedError {
|
||||
return self
|
||||
}
|
||||
}
|
||||
|
||||
func removingWhitespaces() -> String {
|
||||
return components(separatedBy: .whitespaces).joined()
|
||||
}
|
||||
}
|
||||
|
||||
public extension DispatchSource.MemoryPressureEvent {
|
||||
|
||||
Reference in New Issue
Block a user