Francois Gouget 520dcb4c23 winemenubuilder: Handle icons disguised as executables and better validate icon streams.
For some applications the shortcut's icon points to a .exe file which in
fact contains a .ico file. This means open_icon() cannot rely on the
file extension.  Also reject icon streams that don't actually contain a
valid icon and use the next source as a fallback.
2015-03-17 14:17:16 +09:00
..