flathub / io.github.shiftey.Desktop

https://flathub.org/apps/details/io.github.shiftey.Desktop
22 stars 9 forks source link

Unable to locate Git #255

Open testsnake opened 5 months ago

testsnake commented 5 months ago

The package is able to locate Git just find when making signed commits, however when opening a shell via Repository > Open in Konsole or via Repository > Open in XTerm, it gives a warning dialog Unable to locate Git.

This issue does not appear on the AUR package.

image

shiftkey commented 4 months ago

On Linux we run which to try and find a git executable

https://github.com/shiftkey/desktop/blob/bc04a8849fe9a6c707c27e63d1b20d0a972cd588/app/src/lib/is-git-on-path.ts#L10

Could something be missing from your setup that might explain why it errors for that scenario?