github gerardog/gsudo v1.2.0
gsudo v1.2.0

latest releases: v2.5.1, v2.5.0, v2.4.4...
2 years ago

Features

  • PowerShell: Allow to optionally load PS profiles when elevating simple commands. #130
    • For gsudo, use gsudo --loadProfile command per command, or gsudo config PowerShellLoadProfile true for permanent configuration.
    • For Invoke-Gsudo: use Invoke-gsudo { scriptBlock } -LoadProfile per command, or set $gsudoLoadProfile=$true in your $PROFILE after Import-Module gsudoModule for permanent configuration.
      For best results, if you enable this feature, your $PROFILE should not write any output to the console.

Fixes

  • Do not change Console encoding, because it alters the parent Console Host CodePage even after gsudo is closed. Fixes issues with Asian/double-byte character set (DBCS) setups. (fixes #129)

Don't miss a new gsudo release

NewReleases is sending notifications on new releases.