mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{
|
|
"version": "2.0.10",
|
|
"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.0.10/gsudo.setup.x64.msi",
|
|
"hash": "96affaff1ff0c2de9ecd5d94b2349cab594b47de9486a1a8c503ffb60dc40460",
|
|
"extract_dir": "PFiles64\\gsudo\\2.0.10"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v2.0.10/gsudo.setup.x86.msi",
|
|
"hash": "362dd063f99e647b16e08c5eb70cf9012f6210f952881bf3521be36abb572689",
|
|
"extract_dir": "PFiles\\gsudo\\2.0.10"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v2.0.10/gsudo.setup.arm64.msi",
|
|
"hash": "369863053aa4539c28ccfcb88bc7ad8b18585cf8e3040fed61a509971ef934cf",
|
|
"extract_dir": "PFiles64\\gsudo\\2.0.10"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.setup.x86.msi",
|
|
"extract_dir": "PFiles\\gsudo\\$version"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v$version/gsudo.setup.arm64.msi",
|
|
"extract_dir": "PFiles64\\gsudo\\$version"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|