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.
Showing
Please
register
or
sign in
to comment