Keeping people from trying iTunes in Wine?
dank at kegel.com
Thu Sep 9 09:53:19 CDT 2010
> This would be relatively simple to implement, and would even
> be doable with a shell script outside of Wine. Just md5sum
> the .exe, compare it with a blacklist, pop the warning if so,
> and if not pass it to the normal Wine process.
You'd probably want to sha1sum only the first megabyte
or so, since getting the checksum of a gigabyte
executable would really slow things down.
And you might want to do it only for files that
are doubleclicked on, i.e. in the desktop integration,
rather than messing with the real wine.
More information about the wine-devel