guilryder/clavier-plus

UWP application

re2cc opened this issue · 5 comments

re2cc commented

Can you add options to open an UWP or aplication of store?

Good question! Hopefully yes, but it doesn't look straightforward so I will need to research first.

re2cc commented

Hey!, I find a form... It is possible using some commands with powershell, here is the tutorial I followed, maybe you could do the automatic process in the program:
https://www.addictivetips.com/windows-tips/open-uwp-apps-from-command-line-windows-10/

Starting an app given its ID is indeed not too difficult.

Listing all the available apps with their id, name, and icon so Clavier+ can show them in a menu with their icon is harder.

Listing the contents of AppsFolder works, but returns lots of non-UWP apps too. The System.Link.TargetParsingPath property seems empty if and only if the app is UWP.

Then combining SHGetIDListFromObject + SHGetFileInfo allows to retrieve the icon.

I have a working prototype; working on finalizing it.

I have finalized the prototype into a working version, and also fixed a few bugs in the Windows shortcuts resolution involved in Add > Program. I still need to test thoroughly and release the next version.

Beta version binaries:
http://utilfr42.free.fr/dn/beta/ClavierSetup64.exe
http://utilfr42.free.fr/dn/beta/ClavierSetup32.exe
http://utilfr42.free.fr/dn/beta/Clavier64.zip
http://utilfr42.free.fr/dn/beta/Clavier32.zip

re2cc commented

Thanks!