akavel / rsrc

Tool for embedding .ico & manifest resources in Go programs for Windows.
MIT License
1.22k stars 122 forks source link

Update rsrc.go #6

Closed shnmng closed 10 years ago

shnmng commented 10 years ago

I did a little change to allow add more icon files using a dirty way . and print the ID of files added . icon files using a comma( , ) to separate Can be use like this

rsrc.exe -manifest rsrc.manifest -ico x.ico,y.ico

The output is

Manifest ID : 1 Icon x.ico ID : 3 Icon y.ico ID : 5

You can use it on walk by x.ico NewIconFromResource("3") y.ico NewIconFromResource("5")

akavel commented 10 years ago

Thanks a lot, I'll do my best to review this and merge as soon as I find some time.

akavel commented 10 years ago

Merged as: abc9c7e73d51bad99c38e0793a3e65f55c9e859f Thanks!