22 lines
468 B
Objective-C
22 lines
468 B
Objective-C
//
|
|
// OMPTVersionCheck.m
|
|
// OpenMPT
|
|
//
|
|
// Created by Christopher Snowhill on 12/27/21.
|
|
// Copyright © 2021-2022 Christopher Snowhill. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "OMPTVersionCheck.h"
|
|
|
|
@implementation OMPTOldVersionCheck
|
|
+ (BOOL)shouldLoadForOSVersion:(NSOperatingSystemVersion)version {
|
|
if(version.majorVersion < 10 ||
|
|
(version.majorVersion == 10 && version.minorVersion < 15))
|
|
return YES;
|
|
else
|
|
return NO;
|
|
}
|
|
@end
|