From 93b70d44c8910e5cfd21592be5d2529b6792747f Mon Sep 17 00:00:00 2001 From: Gerardo Grignoli Date: Sun, 5 Apr 2020 00:25:29 -0300 Subject: [PATCH 1/3] gsudo: Add to PATH instead of shim to solve shim-related issues --- bucket/gsudo.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bucket/gsudo.json b/bucket/gsudo.json index a4e21693e168d..9161ad67d4f6b 100644 --- a/bucket/gsudo.json +++ b/bucket/gsudo.json @@ -5,13 +5,7 @@ "license": "MIT", "url": "https://github.com/gerardog/gsudo/releases/download/v0.6.0/gsudo.v0.6.0.zip", "hash": "e2a9813e591f9aaeda8d8a908ab0e8c6bf8bfbdc5bf2741aef74683a538880cc", - "bin": [ - "gsudo.exe", - [ - "gsudo.exe", - "sudo" - ] - ], + "env_add_path": ".", "checkver": "github", "autoupdate": { "url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.v$version.zip" From 5b2f98306c23ad87eb2d140838313270e3ef9949 Mon Sep 17 00:00:00 2001 From: Gerardo Grignoli Date: Mon, 6 Apr 2020 12:27:03 -0300 Subject: [PATCH 2/3] gsudo: tab vs spaces --- bucket/gsudo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/gsudo.json b/bucket/gsudo.json index 9161ad67d4f6b..78622973108c4 100644 --- a/bucket/gsudo.json +++ b/bucket/gsudo.json @@ -5,7 +5,7 @@ "license": "MIT", "url": "https://github.com/gerardog/gsudo/releases/download/v0.6.0/gsudo.v0.6.0.zip", "hash": "e2a9813e591f9aaeda8d8a908ab0e8c6bf8bfbdc5bf2741aef74683a538880cc", - "env_add_path": ".", + "env_add_path": ".", "checkver": "github", "autoupdate": { "url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.v$version.zip" From b6676bc70fc397975f45f6810ace4e614da6a3bc Mon Sep 17 00:00:00 2001 From: Gerardo Grignoli Date: Tue, 21 Apr 2020 00:28:11 -0300 Subject: [PATCH 3/3] Added back sudo shim as gsudo alias. --- bucket/gsudo.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bucket/gsudo.json b/bucket/gsudo.json index dab15243ca28f..c35ca788a71ac 100644 --- a/bucket/gsudo.json +++ b/bucket/gsudo.json @@ -6,6 +6,12 @@ "url": "https://github.com/gerardog/gsudo/releases/download/v0.7/gsudo.v0.7.zip", "hash": "d383680640f7a29a587e546c702d408e5d32ed991d9a1a68e8755dc41bd0972a", "env_add_path": ".", + "bin": [ + [ + "gsudo.exe", + "sudo" + ] + ], "checkver": "github", "autoupdate": { "url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.v$version.zip"