btop(-lhm): Add vcredist suggest (#4000)

This commit is contained in:
sitiom 2022-10-07 12:38:40 +08:00 committed by GitHub
parent a3bee6d000
commit 733aef4c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -4,13 +4,16 @@
"homepage": "https://github.com/aristocratos/btop4win", "homepage": "https://github.com/aristocratos/btop4win",
"license": "Apache-2.0", "license": "Apache-2.0",
"notes": "This application requires admin rights to run.", "notes": "This application requires admin rights to run.",
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-LHM-x64.zip", "url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-LHM-x64.zip",
"hash": "9e0b5716fa89a2a333e370beb97060d261952ab5de597d3678fbdace49626ae1", "hash": "9e0b5716fa89a2a333e370beb97060d261952ab5de597d3678fbdace49626ae1"
"extract_dir": "btop4win"
} }
}, },
"extract_dir": "btop4win",
"pre_install": [ "pre_install": [
"Get-ChildItem \"$dir\\btop4win.exe\" | Rename-Item -NewName { $_.name -Replace '4win', '' }", "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 }" "if (!(Test-Path \"$persist_dir\\btop.conf\")) { New-Item \"$dir\\btop.conf\" | Out-Null }"

View File

@ -3,13 +3,16 @@
"description": "Resource monitor that shows usage and stats for processor, memory, disks, network, processes and services.", "description": "Resource monitor that shows usage and stats for processor, memory, disks, network, processes and services.",
"homepage": "https://github.com/aristocratos/btop4win", "homepage": "https://github.com/aristocratos/btop4win",
"license": "Apache-2.0", "license": "Apache-2.0",
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-x64.zip", "url": "https://github.com/aristocratos/btop4win/releases/download/v1.0.4/btop4win-x64.zip",
"hash": "d95bb671232a97ad951b7fc22813c2ea0417e164e797e5e476eedf3313d30126", "hash": "d95bb671232a97ad951b7fc22813c2ea0417e164e797e5e476eedf3313d30126"
"extract_dir": "btop4win"
} }
}, },
"extract_dir": "btop4win",
"pre_install": [ "pre_install": [
"Get-ChildItem \"$dir\\btop4win.exe\" | Rename-Item -NewName { $_.name -Replace '4win', '' }", "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 }" "if (!(Test-Path \"$persist_dir\\btop.conf\")) { New-Item \"$dir\\btop.conf\" | Out-Null }"