Skip to content

Commit

Permalink
Update uiopen.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Diatrus committed Dec 25, 2020
1 parent cb6e9a8 commit 91e5f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uiopen.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) {
NSURL *urlObj = [NSURL URLWithString:[NSString stringWithUTF8String:url]];

void *fbs = dlopen("/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices", RTLD_NOW);
NSString **FBSOpenApplicationOptionKeyUnlockDevice = dlsym(fbs, "FBSOpenApplicationOptionKeyUnlockDevice");
NSString *__strong *FBSOpenApplicationOptionKeyUnlockDevice = (NSString *__strong *)dlsym(fbs, "FBSOpenApplicationOptionKeyUnlockDevice");
[[LSApplicationWorkspace defaultWorkspace] openSensitiveURL:urlObj withOptions:@{*FBSOpenApplicationOptionKeyUnlockDevice:@YES}];
}
else if (bundleId) {
Expand Down

0 comments on commit 91e5f72

Please sign in to comment.