Bot releases are visible (Hide)
PathPrecedence
config setting (docs) ensuring that the system recognize the changes without requiring a log-off or restart. You still need to restart your consoles.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.5.0...v2.5.1
Published by github-actions[bot] 5 months ago
With the release of Microsoft Sudo in Windows 11 24H2, both needs to coexist peacefully. When Microsoft Sudo is present, the sudo
command no longer redirects to gsudo
by default, so:
PathPrecedence
: When set to true
, it will ensure gsudo
appears first in the PATH
variable, ensuring the sudo
keyword starts gsudo
instead of Microsoft Sudo.
gsudo config PathPrecedence true
to activate. Please restart all your consoles to ensure the change makes effect.
false
to go back to normal.If a user with ms-sudo muscle memory, accidentally runs gsudo
, let's ensure gets a good user experience with:
--inline
, --disable-input
, --preserve-env
, --new-window
--chdir {directory}
(or uppercase -D {directory}
) in https://github.com/gerardog/gsudo/pull/355
Also:
gsudo config
command, so users can read each config use, in https://github.com/gerardog/gsudo/pull/354
SecurityEnforceUacIsolation
/DisableInput
handling also in Attached and TokenSwitch elevation Modes.Do Not Dim
. The fix (#85) makes gsudo focus the popup.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.4...v2.5.0
Published by github-actions[bot] 8 months ago
WSL wrapper will not work if gsudo is on different drive
#337 #338Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.3...v2.4.4
Published by github-actions[bot] 8 months ago
vim
and nano
freezing when elevated directly (i.e. gsudo vim
). #248 #302Unauthorized. (Different gsudo.exe?)
. #300MediumPlus
integrity levelCacheDuration
> 24 days. #318Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.2...v2.4.3
Published by github-actions[bot] 10 months ago
Error: Invalid option: -noninteractive
using gsudo {command}
on Visual Studio code by @gerardog in https://github.com/gerardog/gsudo/pull/306
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.2
Published by github-actions[bot] about 1 year ago
gsudo {command}
on VSCode.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.1-fixnoninteractive
Published by github-actions[bot] about 1 year ago
--LogLevel
or --Duration
if cache was already activeError: Unable to connect to the elevated service
/NullReferenceException
by @gerardog in https://github.com/gerardog/gsudo/pull/292
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.4.0
Published by github-actions[bot] about 1 year ago
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.3.1-beta
Published by gerardog over 1 year ago
gsudo status --json
by @gerardog in https://github.com/gerardog/gsudo/pull/276
gsudo status {key}
gsudo status CacheAvailable
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.2.0...v2.3.0
Published by github-actions[bot] over 1 year ago
Import-Module gsudoModule
, eliminating the requirement for a full absolute path. Existing scripts using absolute paths will continue to work as expected.
.MSI
and Chocolatey
installers now deploy the module files also to %ProgramFiles%\PowerShell\Modules\gsudoModule\
.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.1.0...v2.2.0
Published by github-actions[bot] over 1 year ago
gsudo PowerShell Module
gsudo
(#233)Test-IsProcessElevated
function, returns true if elevated.Test-IsAdminMember
function, returns true if user is member of the Local Administrators
group, regardless of the elevation status.gsudoPrompt
function to add a red #
to the prompt if user is admin. Requires the user to add: Set-Alias prompt gsudoPrompt
in their $PROFILE
to activate.Get-Help gsudo
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.10...v2.1.0
Published by gerardog over 1 year ago
--copyns
error reconnecting network path with spaces by @nurfed1 in https://github.com/gerardog/gsudo/pull/268
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.9...v2.0.10
Published by gerardog over 1 year ago
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.8...v2.0.9
Published by github-actions[bot] over 1 year ago
Prevent WSL to default to Windows directory
(#260).This is a pre-release only available on GitHub. (not choco/winget/scoop). I expect it to not cause any issues, but if it does, please comment in the here #239.
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.8...v2.0.9-FixWslPath
Published by gerardog over 1 year ago
line 11: /mnt/c/Program: No such file or directory
by @gerardog in https://github.com/gerardog/gsudo/pull/259
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.7...v2.0.8
Published by gerardog over 1 year ago
sh
, ash
& bash
by @gerardog in https://github.com/gerardog/gsudo/pull/255
gsudo
without PATH env var set by @lsiu in https://github.com/gerardog/gsudo/pull/249
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.6...v2.0.7
Published by github-actions[bot] over 1 year ago
Windows 7
issue enumerating named pipes by @gerardog in https://github.com/gerardog/gsudo/pull/218
ProgramFiles
instead of Program Files (x86)
%ProgramFiles%\gsudo\v2.x.x
%ProgramFiles%\gsudo\Current
or even better just do Import-Module (Get-Command gsudoModule.psd1).Path
and let it pick up from your PATH variable.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.4...v2.0.6
Published by github-actions[bot] almost 2 years ago
Release for testing changes in the Choco/MSI installer.
Fixed Windows 7 issue enumerating named pipes (#215)
Changes in MSI installer:
%ProgramFiles(x86)%\gsudo\vX.X.X
%ProgramFiles(x86)%\gsudo\Current
that links to vX.X.X
gsudo winget upgrade gsudo
Changes in Chocolatey package:
C:\tools\gsudo\v2.x.x
anymoregsudoSetup.MSI
included in this release. (Mentioned above)choco install gsudo
, you can uninstall or upgrade with winget. Or uninstall with add or remove programs.Scoop not affected.
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.4...v2.0.5-ChocoInstallPreview
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.3...v2.0.4
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.2...v2.0.3