updated for unix build

This commit is contained in:
redanthrax 2022-06-22 13:53:50 -07:00
parent 66aca05028
commit e20edcc9ad
37 changed files with 1001 additions and 257 deletions

View file

@ -1,11 +0,0 @@
package software
import (
trmm "github.com/wh1te909/trmm-shared"
)
func GetInstalledSoftware() []SoftwareList { return []WinSoftwareList{} }
func InstallChoco() {}
func InstallWithChoco(name string) (string, error) { return "", nil }

View file

@ -0,0 +1,12 @@
//go:build !windows
// +build !windows
package software
func GetInstalledSoftware() ([]Software, error) {
return []Software{}, nil
}
func InstallChoco() {}
func InstallWithChoco(name string) (string, error) { return "", nil }

View file

@ -9,4 +9,4 @@ type Software struct {
Source string `json:"source"`
Location string `json:"location"`
Uninstall string `json:"uninstall"`
}
}