mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{
|
|
"version": "2.4.0",
|
|
"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.0/gsudo.setup.x64.msi",
|
|
"hash": "51424878994fd4772c0f4a56669aba9f4ae2e37dc3d97f31afce4d07bdff3427",
|
|
"extract_dir": "PFiles64\\gsudo\\2.4.0"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v2.4.0/gsudo.setup.x86.msi",
|
|
"hash": "f0cee8097a76d9bfbe6a896b007de9ad0caaf39d95ea7e59f0949c3a114f6753",
|
|
"extract_dir": "PFiles\\gsudo\\2.4.0"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/gerardog/gsudo/releases/download/v2.4.0/gsudo.setup.arm64.msi",
|
|
"hash": "f2ae3dd2e9aac25180e0d3aad7355702d82d96d38930dd41f0f50ce7a6366a71",
|
|
"extract_dir": "PFiles64\\gsudo\\2.4.0"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|