Add support for getting binary icon and name from exe on Windows

This commit is contained in:
Daniel
2023-12-15 14:03:57 +01:00
parent 19ad1817f2
commit 2a04bf33b1
10 changed files with 394 additions and 58 deletions

View File

@@ -19,7 +19,7 @@ func TestFindIcon(t *testing.T) {
func testFindIcon(t *testing.T, binName string, homeDir string) {
t.Helper()
iconPath, err := search(binName, homeDir)
iconPath, err := searchForIcon(binName, homeDir)
if err != nil {
t.Error(err)
return