mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
fix(install): suppress scoop output to avoid nssm path pollution (#918)
Suppressed the output of “scoop install beszel-agent” to ensure the NSSM service path contains only the executable location. Closes #915 Co-authored-by: suseol <suseol@geosr.com>
This commit is contained in:
@@ -182,7 +182,7 @@ function Install-BeszelAgentWithScoop {
|
|||||||
scoop bucket add beszel https://github.com/henrygd/beszel-scoops | Out-Null
|
scoop bucket add beszel https://github.com/henrygd/beszel-scoops | Out-Null
|
||||||
|
|
||||||
Write-Host "Installing / updating beszel-agent..."
|
Write-Host "Installing / updating beszel-agent..."
|
||||||
scoop install beszel-agent
|
scoop install beszel-agent | Out-Null
|
||||||
|
|
||||||
if (-not (Test-CommandExists "beszel-agent")) {
|
if (-not (Test-CommandExists "beszel-agent")) {
|
||||||
throw "Failed to install beszel-agent"
|
throw "Failed to install beszel-agent"
|
||||||
|
Reference in New Issue
Block a user