forked from hholtmann/smcFanControl
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathOCLPUpdateGuardian.h
More file actions
33 lines (25 loc) · 819 Bytes
/
Copy pathOCLPUpdateGuardian.h
File metadata and controls
33 lines (25 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* OCLPUpdateGuardian.h
* smcFanControl Community Edition
*
* Blocks macOS updates that aren't yet supported by OpenCore Legacy Patcher.
* One toggle: ON or OFF.
*
* Copyright (c) 2026 wolffcatskyy. Licensed under GPL v2.
*/
#import <Foundation/Foundation.h>
@interface OCLPUpdateGuardian : NSObject
+ (instancetype)sharedInstance;
// Is this an OCLP Mac?
@property (nonatomic, readonly) BOOL isOCLPMac;
// The one toggle
@property (nonatomic, assign) BOOL enabled;
// Current state
@property (nonatomic, readonly) NSString *currentMacOSVersion;
@property (nonatomic, readonly) NSString *pendingUpdateVersion;
@property (nonatomic, readonly) BOOL pendingUpdateIsOCLPCompatible;
@property (nonatomic, readonly) NSString *oclpVersion;
// Actions
- (void)checkAndEnforce;
- (void)abortStagedUpdate;
@end