Skip to content

Commit 1f97c7f

Browse files
committed
Fixed regression in firmware detection
1 parent be1bd4f commit 1f97c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func GetCompatibleWith(name string, rootPath string) map[string][]firmware {
7070
f := firmware{
7171
Path: path,
7272
Name: fancyName,
73-
IsLoader: loader.MatchString(path) && !listAll,
73+
IsLoader: loader.MatchString(unixPath) && !listAll,
7474
}
7575
folder := filepath.Dir(path)
7676
lowerPath, _ := filepath.Rel(root, path)

0 commit comments

Comments
 (0)