Icon lookup returns icon file path
This commit is contained in:
parent
39e6d0187e
commit
c0e5cb7db3
@ -500,6 +500,7 @@ func parseIcon (path string) (Icon, error) {
|
||||
dataPath := strings.TrimSuffix(path, ext) + ".icon"
|
||||
|
||||
if data, err := parseIconData(dataPath); err != nil {
|
||||
data.Path = path
|
||||
return data, nil
|
||||
} else {
|
||||
return Icon {
|
||||
|
Loading…
Reference in New Issue
Block a user