Saltar al contenido principal

WinGet

Traducción Beta No Oficial

Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →

Qué hace

Muestra el número de actualizaciones de paquetes disponibles de WinGet. Este segmento solo aparece cuando hay actualizaciones disponibles.

información

Este segmento solo está disponible en Windows.

Configuración de ejemplo

{
"type": "winget",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#0077c2",
"template": "  {{ .UpdateCount }} ",
"cache": {
"duration": "24h",
"strategy": "device"
}
}

Plantilla (info)

plantilla predeterminada
 \uf409 {{ .UpdateCount }}

Propiedades

NameTypeDescription
.UpdateCountintthe number of packages with available updates
.Updates[]WinGetPackagearray of packages with available updates

WinGetPackage

NameTypeDescription
.Namestringthe package name
.IDstringthe package ID
.Currentstringthe currently installed version
.Availablestringthe available version for update