mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 00:39:50 +08:00
Added "Branding" to doctor
This commit is contained in:
parent
2aea5e2dae
commit
f82c971cb0
@ -2,12 +2,13 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/wailsapp/wails/v2/internal/shell"
|
||||
"runtime"
|
||||
"runtime/debug"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/wailsapp/wails/v2/internal/shell"
|
||||
|
||||
"github.com/pterm/pterm"
|
||||
|
||||
"github.com/jaypipes/ghw"
|
||||
@ -78,6 +79,7 @@ func diagnoseEnvironment(f *flags.Doctor) error {
|
||||
{pterm.Bold.Sprint("OS"), info.OS.Name},
|
||||
{pterm.Bold.Sprint("Version"), info.OS.Version},
|
||||
{pterm.Bold.Sprint("ID"), info.OS.ID},
|
||||
{pterm.Bold.Sprint("Branding"), info.OS.Branding},
|
||||
{pterm.Bold.Sprint("Go Version"), runtime.Version()},
|
||||
{pterm.Bold.Sprint("Platform"), runtime.GOOS},
|
||||
{pterm.Bold.Sprint("Architecture"), runtime.GOARCH},
|
||||
|
Loading…
Reference in New Issue
Block a user