Report wine-access version if available in version commands.
This commit is contained in:
1 parent
7c032a5f6e
commit
133953e972
10 files changed
+144
-11
No files matched your search
@@ -30,11 +30,14 @@ func String() string {
|
||||
return Name + " screen reader version " + Build + "-" + Channel
|
||||
}
|
||||
|
||||
func Details(atspiVersion, sessionType, sessionDesktop string) string {
|
||||
func Details(atspiVersion, sessionType, sessionDesktop, wineVersion string) string {
|
||||
details := String() + ", AT-SPI2 version: " + atspiVersion
|
||||
session := strings.TrimSpace(sessionType + " " + sessionDesktop)
|
||||
if session != "" {
|
||||
details += ", Session: " + session
|
||||
}
|
||||
if wineVersion != "" {
|
||||
details += ", wine-access " + wineVersion
|
||||
}
|
||||
return details
|
||||
}
|
||||
Reference in new issue
Block a user