Releases: gerardog/gsudo
Releases Β· gerardog/gsudo
gsudo v2.1.0
What's Changed
- Improvements in
gsudo PowerShell Module
- Added PowerShell syntax suggestions and auto-complete for
gsudo
(#233) - Added PowerShell functions:
Test-IsProcessElevated
function, returns true if elevated.Test-IsAdminMember
function, returns true if user is member of theLocal 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.
- Improved
Get-Help gsudo
- Added PowerShell syntax suggestions and auto-complete for
- Fixed quotation issue when elevating a command with the first and last word has quotes.
Full Changelog: v2.0.10...v2.1.0
gsudo v2.0.10
gsudo v2.0.9
What's Changed
Full Changelog: v2.0.8...v2.0.9
gsudo v2.0.9-FixWslPath
Pre-Release
- Fix for
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: v2.0.8...v2.0.9-FixWslPath
gsudo v2.0.8
What's Changed
Full Changelog: v2.0.7...v2.0.8
gsudo v2.0.7
What's Changed
- Feature: Added support for BusyBox's
sh
,ash
&bash
by @gerardog in #255 - Fix call to bash wrapper
gsudo
without PATH env var set by @lsiu in #249
New Contributors
- @Southpaw018 made their first contribution in #247
- @lsiu made their first contribution in #249
- @OmarAhmed-A made their first contribution in #257
Full Changelog: v2.0.6...v2.0.7
gsudo v2.0.6
What's Changed
- Fixed
Windows 7
issue enumerating named pipes by @gerardog in #218 - Fixed cache when invoked via Shim by @gerardog in #238
- Changes in MSI installer:
- One installer per Platform (x86, x64 & arm64) using Wix v4 by @BMurri in #244 #245
- This also means it now installs to
ProgramFiles
instead ofProgram Files (x86)
- This also means it now installs to
- Allows to use gsudo to install a new gsudo version using WinGet (for Scoop/Choco that was already possible)
- Files are now copied to a version specific version
%ProgramFiles%\gsudo\v2.x.x
- Creates a symlink `%ProgramFiles%\gsudo\Current that links to vX.X.X
- Files are now copied to a version specific version
- One installer per Platform (x86, x64 & arm64) using Wix v4 by @BMurri in #244 #245
- BREAKING CHANGE: If you added gsudo module to your Powershell profile update its path to
%ProgramFiles%\gsudo\Current
or even better just doImport-Module (Get-Command gsudoModule.psd1).Path
and let it pick up from your PATH variable.
New Contributors
Notes
- The changes to choco installer mentioned on v2.0.5-ChocoInstallPreview are on hold for now.
- I skipped v2.0.5 because the version number got locked on the nuget repository.
Full Changelog: v2.0.4...v2.0.6
gsudo v2.0.5-ChocoInstallPreview
Release for testing changes in the Choco/MSI installer.
-
Fixed Windows 7 issue enumerating named pipes (#215)
-
Changes in MSI installer:
- Installs to
%ProgramFiles(x86)%\gsudo\vX.X.X
- Creates a symlink
%ProgramFiles(x86)%\gsudo\Current
that links tovX.X.X
- This allows to use gsudo to install a new gsudo version using WinGet (for Scoop/Choco that was already possible)
gsudo winget upgrade gsudo
- Installs to
-
Changes in Chocolatey package:
- This version no longer uses a custom Chocolatey installer, so not installing to
C:\tools\gsudo\v2.x.x
anymore - Instead, it uses the official
gsudoSetup.MSI
included in this release. (Mentioned above) - This means, for example, that even if you install with
choco install gsudo
, you can uninstall or upgrade with winget. Or uninstall with add or remove programs.
- This version no longer uses a custom Chocolatey installer, so not installing to
-
Scoop not affected.
Full Changelog: v2.0.4...v2.0.5-ChocoInstallPreview
gsudo v2.0.4
What's Changed
- Fix hang on Pwsh installed as a dotnet global tool #211
Full Changelog: v2.0.3...v2.0.4
gsudo v2.0.3
What's Changed
Full Changelog: v2.0.2...v2.0.3