generated from ScoopInstaller/BucketTemplate
/
sudo.json
43 lines (43 loc) · 1.37 KB
/
sudo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"version": "2.4.4",
"description": "A Sudo for Windows",
"homepage": "https://gerardog.github.io/gsudo",
"license": "MIT",
"notes": [
"gsudo has a PowerShell module that adds `gsudo !!` to elevate the last command.",
"Use the module by running: 'Import-Module gsudoModule'.",
"Add it to your $PROFILE to make it permanent."
],
"architecture": {
"64bit": {
"url": "https://github.com/gerardog/gsudo/releases/download/v2.4.4/gsudo.setup.x64.msi",
"hash": "eb195f1433f1576c822eeb29fe2b228747c2baadc70c1b4d7a7be8c63118b4cf",
"extract_dir": "PFiles64\\gsudo\\2.4.4"
}
},
"bin": [
[
"gsudo.exe",
"sudo"
]
],
"psmodule": {
"name": "gsudoModule"
},
"post_install": "try { & \"$dir\\gsudo.exe\" -k 2>&1 | Out-Null } catch { info $_.Exception.Message }",
"env_add_path": ".",
"checkver": {
"github": "https://github.com/gerardog/gsudo"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.setup.x64.msi",
"extract_dir": "PFiles64\\gsudo\\$version"
}
},
"hash": {
"url": "$url.sha256"
}
}
}