2025-10-06 12:32:06 +00:00

56 lines
1.5 KiB
JSON

{
"version": "2.6.1",
"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."
],
"url": "https://github.com/gerardog/gsudo/releases/download/v2.6.1/gsudo.portable.zip",
"hash": "21130bf178d7b9891207f00bff56f05b6b363ce9cec7b2d084e45fb12ee51f44",
"architecture": {
"64bit": {
"extract_dir": "x64"
},
"32bit": {
"extract_dir": "x86"
},
"arm64": {
"extract_dir": "arm64"
}
},
"env_add_path": ".",
"bin": [
[
"gsudo.exe",
"sudo"
]
],
"psmodule": {
"name": "gsudoModule"
},
"post_install": "try { & \"$dir\\gsudo.exe\" -k 2>&1 | Out-Null } catch { info $_.Exception.Message }",
"checkver": {
"github": "https://github.com/gerardog/gsudo"
},
"autoupdate": {
"url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.portable.zip",
"architecture": {
"64bit": {
"extract_dir": "x64"
},
"32bit": {
"extract_dir": "x86"
},
"arm64": {
"extract_dir": "arm64"
}
},
"hash": {
"url": "$url.sha256"
}
}
}