safing-portbase/utils/osdetail/binmeta_default.go
Daniel 2b91472204 Add binary metadata getters for windows
Also, add generic binary name generator
2020-11-17 09:30:55 +01:00

15 lines
438 B
Go

//+build !windows
package osdetail
// GetBinaryNameFromSystem queries the operating system for a human readable
// name for the given binary path.
func GetBinaryNameFromSystem(path string) (string, error) {
return "", ErrNotSupported
}
// GetBinaryIconFromSystem queries the operating system for the associated icon
// for a given binary path.
func GetBinaryIconFromSystem(path string) (string, error) {
return "", ErrNotSupported
}