BrianLima / UWPHook

🔗 Add your Windows Store or UWP games to Steam
https://brianlima.github.io/UWPHook/
MIT License
1.5k stars 116 forks source link

Add support for jpg icons; only replace shortcuts where added by UWPHook #104

Closed DragRedSim closed 2 months ago

DragRedSim commented 1 year ago

Icons: Steam does support JPG images, it just doesn't expose them as an option in its own finder for selecting an icon for a shortcut. Fixes XGP game ReCore, which only has one, non-square PNG asset; all other logos are JPG.

Shortcut maintenance: only replace a shortcut in the config.vdf where the name matches, and the EXE in the config.vdf is the UWPHook EXE being used to add the icon. This avoids cases where the same game may be installed in multiple ways; it also plays nicer with other launcher tools.

BrianLima commented 2 months ago

I've took inspiration from it and added the functionality, i will close the PR.