David Yantis d2c7966da1
gsudo: (chore) Update download type & field order (#5481)
* gsudo@2.4.4: Update download type & field order

* Switch from .msi to portable .zip
* Update field order to match latest contribution guidelines
2024-03-07 14:32:20 +00:00

56 lines
1.5 KiB
JSON

{
"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."
],
"url": "https://github.com/gerardog/gsudo/releases/download/v2.4.4/gsudo.portable.zip",
"hash": "1d7b47886fed85da45c98ddadb005e19bf702860f52817bbd552a120a6f127d5",
"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"
}
}
}