mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 09:09:28 +00:00
Revert "Adjusted checks for auto-type permissions"
This reverts commit 7095d55670.
# Conflicts:
# MacPass/MPAutotypeEnvironment.h
# MacPass/MPAutotypeEnvironment.m
This commit is contained in:
@@ -25,15 +25,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (readonly) BOOL hidden; /// If set to YES, MacPass was hidden when autotype was initiated
|
||||
@property (readonly) BOOL isSelfTargeting; /// If MacPass should autotype to itself, YES, otherwise NO
|
||||
@property (readonly) NSString *overrideSequence; /// If set, this sequence is used for running the command regardless of the matched one
|
||||
@property (readonly) BOOL globalAutotype; /// YES, if autotype is run as global autotype, NO otherwise
|
||||
|
||||
+ (instancetype)environmentWithTargetApplication:(NSRunningApplication * _Nullable)targetApplication entry:(KPKEntry * _Nullable)entry overrideSequence:(NSString * _Nullable)overrideSequence;
|
||||
|
||||
/// Create a environment for the autotype execution capturing the current exection context
|
||||
/// @param targetApplication the application to target, supply nil to use the front most application (for e.g. Global Autotype)
|
||||
/// @param entry the entry to use, if one is preferred (e.g. when being invoked via Perform Autotype)
|
||||
/// @param overrdieSequence a custom sequence that should take precedence over any provided by the entry
|
||||
- (instancetype)initWithTargetApplication:(NSRunningApplication * _Nullable)targetApplication entry:(KPKEntry * _Nullable)entry overrideSequence:(NSString * _Nullable)overrdieSequence NS_DESIGNATED_INITIALIZER;
|
||||
+ (instancetype)environmentWithTargetApplication:(NSRunningApplication *)targetApplication entry:(KPKEntry * _Nullable)entry overrideSequence:(NSString * _Nullable)overrideSequence;
|
||||
- (instancetype)initWithTargetApplication:(NSRunningApplication *)targetApplication entry:(KPKEntry * _Nullable)entry overrideSequence:(NSString * _Nullable)overrdieSequence NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user