Skip to content
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

Feature Request: Make the sudo.exe symlink point at the Current junction #390

Open
IDisposable opened this issue Feb 3, 2025 · 1 comment · May be fixed by #391
Open

Feature Request: Make the sudo.exe symlink point at the Current junction #390

IDisposable opened this issue Feb 3, 2025 · 1 comment · May be fixed by #391

Comments

@IDisposable
Copy link

Description

Tiny little nit (that might not be worth changing), but looking at the installed directory files:

The symlink for sudo.exe points directly at the installed version of the gsudo.exe.

For example, after installing version 2.5.1, the symlink points at C:\Program Files\gsudo\2.5.1\gsudo.exe

Image

The ...\gsudo\Current junction points at the installed version (e.g. the ...\gsudo\2.5.1) directory.

Image

Proposed technical details

Make the symlink for sudo.exe point at ...\gsudo\Current\gsudo.exe instead.

@gerardog
Copy link
Owner

Hi @IDisposable,

The reason for the symlink gsudo\$version\sudo.exe -> gsudo\$version\gsudo.exe is to keep each version self contained.
You select one version or the other, by redirecting the current symlink.

Please explain: What is the problem of the original approach, and/or what do you gain with this change?

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 a pull request may close this issue.

2 participants