mirror of
https://github.com/anotherhadi/usbguard-tui.git
synced 2026-05-11 22:02:34 +02:00
Merge branch 'main' of github.com:anotherhadi/usbguard-tui
This commit is contained in:
@@ -20,6 +20,7 @@ type Device struct {
|
||||
Name string
|
||||
Status Status
|
||||
VidPid string
|
||||
Hash string
|
||||
Permanent bool
|
||||
}
|
||||
|
||||
@@ -57,6 +58,7 @@ func parseLine(line string) (Device, error) {
|
||||
Name: name,
|
||||
Status: status,
|
||||
VidPid: extractUnquoted(rest, "id"),
|
||||
Hash: extractField(rest, "hash"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user