From 733aef4c11917c185d1df4099678392f9d6b2ccf Mon Sep 17 00:00:00 2001 From: sitiom Date: Fri, 7 Oct 2022 12:38:40 +0800 Subject: [PATCH] btop(-lhm): Add vcredist suggest (#4000) --- bucket/btop-lhm.json | 7 +++++-- bucket/btop.json | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bucket/btop-lhm.json b/bucket/btop-lhm.json index ae99b8a770..ac2a25a2da 100644 --- a/bucket/btop-lhm.json +++ b/bucket/btop-lhm.json @@ -4,13 +4,16 @@ "homepage": "https://github.com/aristocratos/btop4win", "license": "Apache-2.0", "notes": "This application requires admin rights to run.", + "suggest": { + "vcredist": "extras/vcredist2022" + }, "architecture": { "64bit": { "url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-LHM-x64.zip", - "hash": "9e0b5716fa89a2a333e370beb97060d261952ab5de597d3678fbdace49626ae1", - "extract_dir": "btop4win" + "hash": "9e0b5716fa89a2a333e370beb97060d261952ab5de597d3678fbdace49626ae1" } }, + "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 }" diff --git a/bucket/btop.json b/bucket/btop.json index c083d72def..c9a569f0fe 100644 --- a/bucket/btop.json +++ b/bucket/btop.json @@ -3,13 +3,16 @@ "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", + "suggest": { + "vcredist": "extras/vcredist2022" + }, "architecture": { "64bit": { "url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-x64.zip", - "hash": "d95bb671232a97ad951b7fc22813c2ea0417e164e797e5e476eedf3313d30126", - "extract_dir": "btop4win" + "hash": "d95bb671232a97ad951b7fc22813c2ea0417e164e797e5e476eedf3313d30126" } }, + "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 }"