Skip to content

gsudo v1.2.0

Compare
Choose a tag to compare
@gerardog gerardog released this 25 Mar 13:02
· 472 commits to master since this release

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)