gsudo: Prevent NativeCommandError

![Before](https://i.imgur.com/XYCr57L.png)

![After](https://i.imgur.com/SHnIjjF.png)
This commit is contained in:
Jakub Čábera 2021-09-11 16:25:42 -07:00
parent 74fef20f4b
commit 5ba5519a55

View File

@ -11,7 +11,7 @@
"sudo"
]
],
"post_install": "& \"$dir\\gsudo.exe\" -k 2>&1 | Out-Null",
"post_install": "try { & \"$dir\\gsudo.exe\" -k 2>&1 | Out-Null } catch { info $_.Exception.Message }",
"env_add_path": ".",
"checkver": "github",
"autoupdate": {