2021-12-28 01:46:09 +00:00
|
|
|
//
|
|
|
|
// OMPTVersionCheck.m
|
|
|
|
// OpenMPT
|
|
|
|
//
|
|
|
|
// Created by Christopher Snowhill on 12/27/21.
|
2022-01-03 07:34:29 +00:00
|
|
|
// Copyright © 2021-2022 Christopher Snowhill. All rights reserved.
|
2021-12-28 01:46:09 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2021-12-28 01:46:09 +00:00
|
|
|
#import "OMPTVersionCheck.h"
|
|
|
|
|
|
|
|
@implementation OMPTOldVersionCheck
|
|
|
|
+ (BOOL)shouldLoadForOSVersion:(NSOperatingSystemVersion)version {
|
2022-02-07 05:49:27 +00:00
|
|
|
if(version.majorVersion < 10 ||
|
|
|
|
(version.majorVersion == 10 && version.minorVersion < 15))
|
|
|
|
return YES;
|
|
|
|
else
|
|
|
|
return NO;
|
2021-12-28 01:46:09 +00:00
|
|
|
}
|
|
|
|
@end
|