From 9d9c3d971a09cc70b2d44b1a077564c88316b911 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 16 Aug 2021 19:19:32 +1000 Subject: [PATCH] [windows-x] Update wails doctor --- v2/internal/system/system_windows.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/v2/internal/system/system_windows.go b/v2/internal/system/system_windows.go index 6ef67c35..23071fbe 100644 --- a/v2/internal/system/system_windows.go +++ b/v2/internal/system/system_windows.go @@ -4,9 +4,6 @@ package system import ( "github.com/wailsapp/wails/v2/internal/system/operatingsystem" - "github.com/wailsapp/wails/v2/internal/system/packagemanager" - "os/exec" - "strings" ) func (i *Info) discover() error { @@ -18,25 +15,6 @@ func (i *Info) discover() error { } i.OS = osinfo - // Check for gcc - output, err := exec.Command("gcc", "--version").Output() - installed := true - version := "" - if err != nil { - installed = false - } else { - version = strings.TrimSpace(strings.Split(string(output), "\n")[0]) - } - gccDependency := &packagemanager.Dependancy{ - Name: "gcc ", - PackageName: "N/A", - Installed: installed, - InstallCommand: "Available at https://jmeubank.github.io/tdm-gcc/", - Version: version, - Optional: false, - External: false, - } - i.Dependencies = append(i.Dependencies, gccDependency) i.Dependencies = append(i.Dependencies, checkNPM()) i.Dependencies = append(i.Dependencies, checkUPX()) i.Dependencies = append(i.Dependencies, checkDocker())