Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use openApplication instead of launchApplication #96

Open
KazuCocoa opened this issue Jul 28, 2020 · 0 comments
Open

Use openApplication instead of launchApplication #96

KazuCocoa opened this issue Jul 28, 2020 · 0 comments

Comments

@KazuCocoa
Copy link
Member

[[NSWorkspace sharedWorkspace] performSelectorOnMainThread:@selector(launchApplication:) withObject:url waitUntilDone:NO];

Haven't checked well, but https://developer.apple.com/documentation/appkit/nsworkspace/1531434-launchapplication seems it will be https://developer.apple.com/documentation/appkit/nsworkspace/3172700-openapplicationaturl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant