The new STM32CubeMX2 installer clobbered my Windows PATH... yay. It swapped REG_...

@attie@hachyderm.io

The new STM32CubeMX2 installer clobbered my Windows PATH... yay.

It swapped REG_EXPAND_SZ for REG_SZ, meaning that my `%USERPROFILE%\bin` item didn't expand or work any more.

I have _so_ many things in there that I use constantly... IIRC it's been a usability thing I've done since WinXP. At first I blamed a Windows Update for not searching my PATH in the Run dialog anymore 🙃

I'm also minorly horrified to remember that strings stored in the registry can be "Normal" or "Expandable" (i.e: environment variables are resolved).

Bug reported: community.st.com/stm32cubemx2-