Skip to content

Commit a61079a

Browse files
committed
fix Icon(nil) not cannot parse png data error
1 parent 6efa8be commit a61079a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apk/apk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import (
1313

1414
"github.com/pkg/errors"
1515
"github.com/shogo82148/androidbinary"
16+
17+
_ "image/jpeg" // handle jpeg format
18+
_ "image/png" // handle png format
1619
)
1720

1821
// Apk is an application package file for android.

0 commit comments

Comments
 (0)