gsudo icon indicating copy to clipboard operation
gsudo copied to clipboard

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

Open IDisposable opened this issue 10 months ago • 1 comments

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.

IDisposable avatar Feb 03 '25 19:02 IDisposable

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?

gerardog avatar Feb 16 '25 02:02 gerardog