AutoHotPie icon indicating copy to clipboard operation
AutoHotPie copied to clipboard

Extract icons from selected "Run file" command.

Open dumbeau opened this issue 2 years ago • 1 comments

image

Automatic extraction of icons from .exe file (if possible) Also add support .ico format (now only .png)

Suggested by Eshkermene on Discord.

May be best to incorporate this into the application switcher function as well,

dumbeau avatar Feb 08 '23 16:02 dumbeau

Just some idea:

This may be done with app.getFileIcon(path[, options]) on Windows https://www.electronjs.org/docs/latest/api/app#appgetfileiconpath-options

for Mac and Linux, the function may not work properly so another function may be needed nativeImage.createThumbnailFromPath(path, size) https://www.electronjs.org/docs/latest/api/native-image#nativeimagecreatethumbnailfrompathpath-size-macos-windows

ryjacky avatar May 14 '23 09:05 ryjacky