diff --git a/.swiftlint.yml b/.swiftlint.yml index 1e3eefbc96f..bc9127cdf78 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -42,9 +42,9 @@ identifier_name: line_length: 200 type_body_length: - - 500 - 700 + - 1000 file_length: - - 1200 - - 1600 \ No newline at end of file + - 1400 + - 1800 \ No newline at end of file diff --git a/Kit/plugins/SystemKit.swift b/Kit/plugins/SystemKit.swift index 684db548239..9fe3bffd074 100644 --- a/Kit/plugins/SystemKit.swift +++ b/Kit/plugins/SystemKit.swift @@ -196,6 +196,16 @@ public class SystemKit { } else { self.device.platform = .m2 } + } else if name.contains("m3") { + if name.contains("pro") { + self.device.platform = .m3Pro + } else if name.contains("max") { + self.device.platform = .m3Max + } else if name.contains("ultra") { + self.device.platform = .m3Ultra + } else { + self.device.platform = .m3 + } } } } diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index 2dceb53a18b..0c1172059f3 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 512 + 513 Description Simple macOS system monitor in your menu bar LSApplicationCategoryType