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

Ventura — changing a URL scheme handler has no effect #72

Open
icanzilb opened this issue Feb 20, 2023 · 2 comments
Open

Ventura — changing a URL scheme handler has no effect #72

icanzilb opened this issue Feb 20, 2023 · 2 comments

Comments

@icanzilb
Copy link

I've added a new app to the list of apps to handle a given URL scheme and I got the alert box saying the handler for that URL scheme was successfully changed. The list looks a bit awkward, adding it here for completeness:

image

However, opening a URL with the given scheme from Terminal does not use the newly set default app.

I'm not sure if that's a bug due to the UI glitch or is the preference pane just not working on Ventura?

@SeanHansell
Copy link

SeanHansell commented Jun 16, 2023

CLI similarly doesn't work in Ventura. Setting the default handler for a URL scheme doesn't stick. It reverts after a few seconds.

% swda setHandler --URL tel --app /Applications/RingCentral.app
SwiftDefaultApps SUCCESS: Default handler has succesfully changed to com.ringcentral.glip
% swda getHandler --URL tel                                    
/System/Applications/FaceTime.app

@Lord-Kamina
Copy link
Owner

This might be fixed by replacing the deprecated LaunchServices methods for the new NSWorkspace api, which is a WIP.

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

No branches or pull requests

3 participants