helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

Add a thumbnailer for Windows .exe files #475

Open probonopd opened 1 year ago

probonopd commented 1 year ago

/usr/local/share/thumbnailers/exe-thumbnailer.thumbnailer

[Thumbnailer Entry]
Exec=exe-thumbnailer -v -s %s %i %o
MimeType=application/x-ms-dos-executable;application/x-dosexec;application/x-msdownload

Needs sudo python3 -m pip install icoextract as this is not in FreeBSD Ports.

probonopd commented 1 year ago

Alternatively, we may use something like https://github.com/azsn/get-exe-icon to do this natively in Filer.

probonopd commented 1 year ago

Looking at how Windows stores icons in PE files, it may even be possible to do this natively in C++/Qt5 without the use of additional dependencies.