Skip to content

Releases: gerardog/gsudo

gsudo v2.1.0

08 Jul 23:32
Compare
Choose a tag to compare

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 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.
        gsudo prompt
    • Improved Get-Help gsudo
  • 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

04 Jun 18:10
b4d8502
Compare
Choose a tag to compare

What's Changed

  • Bugfix: Fix for --copyns error reconnecting network path with spaces by @nurfed1 in #268

New Contributors

Full Changelog: v2.0.9...v2.0.10

gsudo v2.0.9

02 May 21:50
Compare
Choose a tag to compare

What's Changed

  • Fix to prevent WSL to default to Windows directory by @gerardog in #260

Full Changelog: v2.0.8...v2.0.9

gsudo v2.0.9-FixWslPath

30 Apr 16:48
Compare
Choose a tag to compare
Pre-release

Pre-Release

  • Fix for Prevent WSL to default to Windows directory (#260).
    image

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

30 Apr 11:38
e011513
Compare
Choose a tag to compare

What's Changed

  • Fixed wsl error line 11: /mnt/c/Program: No such file or directory by @gerardog in #259

Full Changelog: v2.0.7...v2.0.8

gsudo v2.0.7

28 Apr 13:38
0cdab2c
Compare
Choose a tag to compare

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

Full Changelog: v2.0.6...v2.0.7

gsudo v2.0.6

24 Mar 13:14
Compare
Choose a tag to compare

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 of Program Files (x86)
    • 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
  • BREAKING CHANGE: If you added gsudo module to your Powershell profile update its path to %ProgramFiles%\gsudo\Current or even better just do Import-Module (Get-Command gsudoModule.psd1).Path and let it pick up from your PATH variable.

New Contributors

  • @BMurri made their first contribution in #244 πŸŽ‰

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

23 Nov 20:14
Compare
Choose a tag to compare
Pre-release

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 to vX.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
  • 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.
  • Scoop not affected.

Full Changelog: v2.0.4...v2.0.5-ChocoInstallPreview

gsudo v2.0.4

21 Nov 15:49
Compare
Choose a tag to compare

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

18 Nov 18:25
Compare
Choose a tag to compare

What's Changed

  • Fix for the breaking changes included in Powershell Core v7.3 by @gerardog in #208

Full Changelog: v2.0.2...v2.0.3