mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 02:50:36 +08:00
[mac] better wails doctor
This commit is contained in:
parent
a300172adc
commit
22f09772d3
@ -27,6 +27,7 @@ func (i *Info) discover() error {
|
||||
installed = false
|
||||
} else {
|
||||
version = strings.TrimPrefix(string(output), "xcode-select version ")
|
||||
version = strings.TrimSpace(version)
|
||||
version = strings.TrimSuffix(version, ".")
|
||||
}
|
||||
xcodeDep := &packagemanager.Dependancy{
|
||||
@ -39,5 +40,6 @@ func (i *Info) discover() error {
|
||||
External: false,
|
||||
}
|
||||
i.Dependencies = append(i.Dependencies, xcodeDep)
|
||||
i.Dependencies = append(i.Dependencies, checkNPM())
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user