summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--QuickActions/Makefile2
-rw-r--r--QuickActions/QuickActionsPrefs/Makefile2
-rw-r--r--QuickActions/Tweak.h10
-rw-r--r--QuickActions/Tweak.x10
-rw-r--r--QuickActions/control2
5 files changed, 9 insertions, 17 deletions
diff --git a/QuickActions/Makefile b/QuickActions/Makefile
index 91a8548..8b91b46 100644
--- a/QuickActions/Makefile
+++ b/QuickActions/Makefile
@@ -1,6 +1,6 @@
#THEOS_PACKAGE_SCHEME=rootless
-TARGET := iphone:14.5:15.0
+TARGET := iphone:14.5:14.0
INSTALL_TARGET_PROCESSES = SpringBoard
ARCHS := arm64 arm64e
diff --git a/QuickActions/QuickActionsPrefs/Makefile b/QuickActions/QuickActionsPrefs/Makefile
index a00d795..06352da 100644
--- a/QuickActions/QuickActionsPrefs/Makefile
+++ b/QuickActions/QuickActionsPrefs/Makefile
@@ -1,4 +1,4 @@
-TARGET := iphone:14.5:15.0
+TARGET := iphone:14.5:14.0
include $(THEOS)/makefiles/common.mk
diff --git a/QuickActions/Tweak.h b/QuickActions/Tweak.h
index 1c74481..e14a4f0 100644
--- a/QuickActions/Tweak.h
+++ b/QuickActions/Tweak.h
@@ -27,12 +27,8 @@
+(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 {
@@ -125,4 +121,4 @@
@property (nonatomic, readonly) CGRect _referenceBounds;
@end
-int SBFEffectiveHomeButtonType(); \ No newline at end of file
+int SBFEffectiveHomeButtonType();
diff --git a/QuickActions/Tweak.x b/QuickActions/Tweak.x
index 7e9a505..8e6af39 100644
--- a/QuickActions/Tweak.x
+++ b/QuickActions/Tweak.x
@@ -22,20 +22,16 @@
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
diff --git a/QuickActions/control b/QuickActions/control
index 89ec283..2031df9 100644
--- a/QuickActions/control
+++ b/QuickActions/control
@@ -1,6 +1,6 @@
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>