#THEOS_PACKAGE_SCHEME=rootless
-TARGET := iphone:14.5:15.0
+TARGET := iphone:14.5:14.0
INSTALL_TARGET_PROCESSES = SpringBoard
ARCHS := arm64 arm64e
-TARGET := iphone:14.5:15.0
+TARGET := iphone:14.5:14.0
include $(THEOS)/makefiles/common.mk
+(id)optionsWithDictionary:(id)arg1;
@end
-@interface FBSystemServiceOpenApplicationRequest : NSObject
-@property (assign,getter=isTrusted,nonatomic) BOOL trusted;
-@property (nonatomic,copy) NSString * bundleIdentifier;
-@property (nonatomic,copy) FBSOpenApplicationOptions * options;
-@property (nonatomic,retain) FBProcess * clientProcess;
-+(id)request;
+@interface FBSOpenApplicationService : NSObject
+-(void)openApplication:(NSString *)arg1 withOptions:(FBSOpenApplicationOptions *)arg2 completion:(id)arg3;
@end
@interface CSQuickActionsButton : UIView {
@property (nonatomic, readonly) CGRect _referenceBounds;
@end
-int SBFEffectiveHomeButtonType();
\ No newline at end of file
+int SBFEffectiveHomeButtonType();
void openApplication(NSString *bundleID)
{
- FBSOpenApplicationOptions* opts = [%c(FBSOpenApplicationOptions) optionsWithDictionary:@{
+ FBSOpenApplicationOptions *opts = [%c(FBSOpenApplicationOptions) optionsWithDictionary:@{
@"__LaunchOrigin" : @"BulletinDestinationCoverSheet",
@"__PromptUnlockDevice" : @YES,
@"__UnlockDevice" : @YES,
@"__LaunchImage" : @"",
@"__Actions" : @[]
}];
- FBSystemServiceOpenApplicationRequest* request = [%c(FBSystemServiceOpenApplicationRequest) request];
- request.options = opts;
- request.bundleIdentifier = bundleID;
- request.trusted = YES;
- request.clientProcess = [[%c(FBProcessManager) sharedInstance] systemApplicationProcess];
- [[%c(SBMainWorkspace) sharedInstance] systemService:[%c(FBSystemService) sharedInstance] handleOpenApplicationRequest:request withCompletion:^{}];
+ FBSOpenApplicationService *openService = [[%c(FBSOpenApplicationService) alloc] init];
+ [openService openApplication:bundleID withOptions:opts completion:nil];
}
%hook CSQuickActionsView
Package: com.cameronkatri.quickactions
Name: QuickActions
-Version: 1.0.0
+Version: 1.0.0-1
Architecture: iphoneos-arm
Description: Quickly launch apps from the lockscreen
Maintainer: Cameron Katri <me+quickactions@cameronkatri.com>