diff --git a/bucket/btop-lhm.json b/bucket/btop-lhm.json new file mode 100644 index 0000000000..b324b98462 --- /dev/null +++ b/bucket/btop-lhm.json @@ -0,0 +1,35 @@ +{ + "version": "1.0.3", + "description": "Resource monitor that shows usage and stats for processor, memory, disks, network, processes and services (LibreHardwareMonitor version with full monitoring capabilities).", + "homepage": "https://github.com/aristocratos/btop4win", + "license": "Apache-2.0", + "notes": "This application requires admin rights to run.", + "architecture": { + "64bit": { + "url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.3/btop4win-LHM-x64.zip", + "hash": "10a5042236c1c16e915a12ea7003822a51292cf1a8276ce4652ebd2080eb2477", + "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 }" + ], + "pre_uninstall": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "sc.exe stop R0btop | 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-LHM-x64.zip" + } + } + } +} diff --git a/bucket/btop.json b/bucket/btop.json new file mode 100644 index 0000000000..04ce00c43c --- /dev/null +++ b/bucket/btop.json @@ -0,0 +1,30 @@ +{ + "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" + } + } + } +}