updated for unix build
This commit is contained in:
parent
66aca05028
commit
e20edcc9ad
37 changed files with 1001 additions and 257 deletions
|
|
@ -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 }
|
||||
12
agent/software/software_unix.go
Normal file
12
agent/software/software_unix.go
Normal 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 }
|
||||
|
|
@ -9,4 +9,4 @@ type Software struct {
|
|||
Source string `json:"source"`
|
||||
Location string `json:"location"`
|
||||
Uninstall string `json:"uninstall"`
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue