CmdPal: URI activate, rather than using shell:AppsFolder
I have not been able to actually test the bug at the root of #38393. However, a coworker confirmed this fixed it for them, so 🤞
This is a hypothetical fix. The theory being that shell:AppsFolder isn't necessarily the most reliable, but maybe URI handlers are?
We need a URI handler for #39262 anyways, but I just implemented background for now.
The URI scheme is x-cmdpal:. The x- means "experimental".
Now, if we had a stable repro of #38393, I could cut a build with this PR and check. As it stands, I still haven't found one.
And then I went and did the x-cmdpal://settings thing too. So I'd look at
- https://github.com/microsoft/PowerToys/pull/39269/files/ab58892fcdc4467ec114b781ab97a3097b0a21b0 as the first bit, then
- 9b9c6d3 as the part where I add the settings handling
@jevansaks was hitting #38393 internally, and when he tested this build, it no longer repro'd. So, problem solved?
Verified, let's go!