fix: properly register custom url evt handling (#20518)
This commit is contained in:
parent
ec2c1db0e4
commit
812de5d3bf
5 changed files with 9 additions and 1 deletions
|
@ -153,7 +153,7 @@ inline void dispatch_sync_main(dispatch_block_t block) {
|
|||
[userActivity setNeedsSave:YES];
|
||||
}
|
||||
|
||||
- (void)awakeFromNib {
|
||||
- (void)registerURLHandler {
|
||||
[[NSAppleEventManager sharedAppleEventManager]
|
||||
setEventHandler:self
|
||||
andSelector:@selector(handleURLEvent:withReplyEvent:)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue