fix: removed scheduler and speed limits for Apple Silicon (#749)

This commit is contained in:
Serhiy Mytrovtsiy
2022-01-14 20:31:16 +01:00
parent 8d6464419e
commit da08c0f1fc
3 changed files with 32 additions and 8 deletions

View File

@@ -204,3 +204,13 @@ public extension Notification.Name {
static let refreshPublicIP = Notification.Name("refreshPublicIP")
static let resetTotalNetworkUsage = Notification.Name("resetTotalNetworkUsage")
}
public var isARM: Bool {
get {
var value = false
#if arch(arm64)
value = true
#endif
return value
}
}