-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Try to install git even if git has been installed #59
Comments
Heya, WinGet actually checks if git is already installed, this even works in cases where WinGet was not used to install it. I just confirmed this behaviour on my windows 10 system that had git manually installed. Have you run into issues with this? |
My git was installed by scoop:
I tried on another PC that installed git by official installer, and winget does detect it. The difference may be that the installer writes package information to the Windows registry, but Scoop does not? |
Ooh interesting. I'm guessing this is due to the fact that scoop installs apps in an unusual way, keeping them isolated in a scoop folder. Seems like we'll need to manually check if git is installed after all! Thanks for bringing this to my attention 😃 |
Yes, now it works well. Thank you! |
The code does not actually check if git exists. (If git is not installed from winget)
The text was updated successfully, but these errors were encountered: