mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-28 11:34:25 +00:00
* btop: Add version 1.0.2 btop-LHM: Add version 1.0.2 * Rename btop-LHM.json to btop-lhm.json * Better persists * btop-lhm: Add pre_uninstall * Better description * 1.0.3 * better pre_uninstall * Fixed persists * Made sc bin specific In case someone has an alias with the same name * Add admin rights check to match suggestion in #3897 (comment) Co-authored-by: sitiom <sitiom@proton.me> * Apply suggestions from code review Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: sitiom <sitiom@proton.me> Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"version": "1.0.3",
|
|
"description": "Resource monitor that shows usage and stats for processor, memory, disks, network, processes and services.",
|
|
"homepage": "https://github.com/aristocratos/btop4win",
|
|
"license": "Apache-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.3/btop4win-x64.zip",
|
|
"hash": "81aa87da6d038fa8af535f66e50fddbea58fa25f9902c363c6df8a93a0a5d866",
|
|
"extract_dir": "btop4win"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"Get-ChildItem \"$dir\\btop4win.exe\" | Rename-Item -NewName { $_.name -Replace '4win', '' }",
|
|
"if (!(Test-Path \"$persist_dir\\btop.conf\")) { New-Item \"$dir\\btop.conf\" | Out-Null }"
|
|
],
|
|
"persist": [
|
|
"themes",
|
|
"btop.conf"
|
|
],
|
|
"bin": "btop.exe",
|
|
"checkver": "github",
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/aristocratos/btop4win/releases/download/v$version/btop4win-x64.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|