Skip to content

Conversation

@tyrielv
Copy link
Contributor

@tyrielv tyrielv commented May 12, 2025

When checking that GVFS.Hooks.exe matches the version of GVFS.exe, GVFS is currently using where.exe to find GVFS.Hooks.exe on the path. However, when actually running GVFS.Hooks.exe, it uses the file that is in the same directory as GVFS.exe.

This PR removes usage of where.exe for consistency, instead using the directory of gvfs.exe to locate GVFS.Hooks.exe in all cases.

Combined with !1835, this change fixes an error case when a user uninstalls GVFS then reinstalls into a different directory, where existing clones still point to the old directory and will hit errors when mounting.

@mjcheetham mjcheetham merged commit 3f8fe0e into microsoft:master May 13, 2025
5 checks passed
@mjcheetham mjcheetham mentioned this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants