desktop: "Sign in using your browser" doesn't work with AppImage
Description
When prompted to sign in to the app, the “Sign in using your browser” option doesn’t work.
Version
GitHub Desktop version: 1.0.11
OS version: Ubuntu 16.04.3
Steps to Reproduce
- Launch the app for the first time
- Press buttons until you can choose to sign in in a browser, and do so
- Go through the OAuth prompts
- Finish the OAuth prompts, and the redirect to the app doesn’t work – you get prompted (by Chrome) to open
xdg-open, but the webpage doesn’t close, and the GitHub app just sits there with the loading spinner until you press Cancel.
Expected behavior: Signing in through a browser should work
Actual behavior: The redirect back to the app doesn’t work
Reproduces how often: Presumably always, at least when using the AppImage
Logs
Can’t find these on Linux, will happily provide if someone tells me where they are
Additional Information
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 19 (9 by maintainers)
The app protocols need to be added to
script/electron-builder-linux.yml. Inelectron-packagerthe protocols are only used for mapping toCFBundleURLSchemes. Meanwhile the protocols in theelectron-builderconfig are used to add theMimeTypeentry to the app’s desktop file.Same issue with .deb version