From 8a0a02319d545dd6ba952a10af5488072cc3d31c Mon Sep 17 00:00:00 2001 From: sewn Date: Tue, 24 Oct 2023 19:12:18 +0300 Subject: [PATCH] cmd/vinegar: print cards too --- cmd/vinegar/vinegar.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/vinegar/vinegar.go b/cmd/vinegar/vinegar.go index ee4397d6..78062e0f 100644 --- a/cmd/vinegar/vinegar.go +++ b/cmd/vinegar/vinegar.go @@ -208,4 +208,9 @@ func Sysinfo(pfx *wine.Prefix) { if sysinfo.InFlatpak { fmt.Println("* Flatpak: [x]") } + + fmt.Println("* Cards:") + for _, c := range sysinfo.Cards { + fmt.Printf(" * Card %d: %s %s\n", c.Index, c.Driver, c.Path) + } }