oowow doesn't need to be in the url

This commit is contained in:
Igor
2024-08-09 20:32:14 +02:00
committed by GitHub
parent 0b6be776fc
commit 384f423f71

2
map.go
View File

@@ -144,7 +144,7 @@ func loadMapJSON(f io.Reader) (map[string]string, error) {
case strings.HasSuffix(file.Extension, "img.qcow2.xz"):
sb.WriteString("-qcow2")
case strings.HasSuffix(file.Extension, "oowow.img.xz"):
sb.WriteString("-oowow")
sb.WriteString("")
}
if strings.HasSuffix(file.Extension, "img.xz") {