Skip to content

Uninstalling app does not remove x-github-client URL scheme handler #1676

Closed

Description

@tonyarnold

I have uninstalled the macOS version of GitHub Desktop, however the x-github-client custom URL scheme has been left behind. Clicking "Open In Desktop" on GitHub.com continues to try to open GitHub Desktop, rather than my chosen client (Tower).

This is the error that's shown:

screen shot 2017-05-21 at 14 39 04

I've rebuilt my LaunchServices database, and used Hazel to completely uninstall GitHub Desktop to no avail.

Activity

  1. added
    bug
    on May 22, 2017
  2. ihatemyisp commented on May 28, 2017

    @ihatemyisp

    I to am having this issue.

  3. joshaber commented on May 30, 2017

    @joshaber
    Contributor

    Unfortunately there's no way for GitHub.com to test what protocols can be opened by your computer. So after you've installed GitHub Desktop Beta, it will always use the x-github-client:// protocol.

    If other apps want to piggyback on the protocol, they'll need to handle that change.

  4. ihatemyisp commented on May 30, 2017

    @ihatemyisp

    I'm just trying to use the old Desktop client. I've go so far as to manually remove all traces of it and reinstall, to no avail.

  5. latenitefilms commented on Jul 15, 2017

    @latenitefilms

    I'm also having this issue. Has anyone found a workaround?

    Unfortunately the GitHub Desktop Beta is missing some functionality I need, so I really want to go back to the stable release.

  6. loopervfx commented on Jul 17, 2017

    @loopervfx

    I made a simple greasemonkey userscript to workaround this issue for now:

    https://github.com/landonth/github-desktop-protocol-fix

    Hope this helps those affected looking for an interim solution.

  7. steveharoz commented on Jul 18, 2017

    @steveharoz

    To make sure it's clear, this issue occurs on Windows too. Do the developers have any workaround?

  8. loopervfx commented on Jul 18, 2017

    @loopervfx

    @steveharoz maybe i'm wrong, but it's been a few months already so i doubt the developers will be providing an official workaround for legacy protocol handlers at this point.

    the userscript workaround i posted above should work for any git client that is expecting git-windows:// or git-mac://
    it simply replaces any occurrences of x-github-client:// found in <a href> attributes.

  9. drakeet commented on Jul 21, 2017

    @drakeet

    @LandonTH Great! Your userscript workaround saved me. Now I can continue using the old GitHub Desktop (v223) happily. Thank you very much!

  10. joshaber commented on Sep 19, 2017

    @joshaber
    Contributor

    Now that GitHub Desktop 1.0 is out, we don't have any plans to support the old protocol.

    Please feel free to open issues for bugs you find or features you'd like to see in the new app!

  11. locked as resolved and limited conversation to collaborators on Jul 20, 2018
  12. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions