Bug: App crashes when repository opened in a non-existent application
🪟 What version of Windows is this issue present?
🪟 Windows 11
🔢 What version of FluentHub are you on?
0.8.60.0 | X64 | DEBUG (This does not affect the error)
📄 Description
App crashes when opening GitHub Desktop/Visual Studio from the repository Clone context menu if the appropriate app is not installed.
🪜 Steps To Reproduce
- Navigate to a repo
- Press on the
Clonebutton - From the context menu, open the repo in an app you do not have installed (
Visual StudioorGitHub Desktopas appropriate) - App crashes.
🤔 Expected behavior
App should check for application install and grey out the button or open a browser with arguments for the URI which would prevent app crash.
⚒️ Did you find any workaround?
No response
📑 Stack Trace
Stack trace is not associated with this error.
📸 Assets
https://github.com/user-attachments/assets/48eedd8d-dbed-4564-9216-4b6ab064f243
As you can see, the app crashes when the user attempts to open the repository with GitHub Desktop which is not installed on the machine.
To fix this I will build a custom website that opens different github clients
Real? Why not just send user to GitHub Desktop download page.
Real? Why not just send user to GitHub Desktop download page.
There are other git clients as well such as gitlens, GitGUI and gitkraken
Ok but why do you have to set up a website? I thought we can detect installation of any git clients?
Ok but why do you have to set up a website? I thought we can detect installation of any git clients?
We can but it's a project I've been meaning to make anyway lol
Real? Why not just send user to GitHub Desktop download page.
@0x5bfa I'll just try other clients on error and if still fails, show GitHub Desktop download page.