Closed GreatApo closed 1 year ago
Looks great and good catch!
Tested locally and this doesn't cause any regressions with my shortcuts.vdf
file on my PC which has a CamelCase key name, though it is not a very extensive list of shortcuts. Since the shortcuts.vdf
file uses the binary VDF format, I wasn't able to test editing it to use a lowercase key name, but I assume it will work from looking at the code.
This reminds me of an issue for #226 where one of the VDF files keys had a casing issue - valve
instead of Valve
(fixed in #227). It seems VDF file casing can be rather inconsistent. On my Steam Deck, shortcuts display fine fwiw, so I'd go out on a limb and say these are Steam bugs. Regardless it's good to fix them in ProtonUp-Qt as well.
Thanks!
Tested locally and this doesn't cause any regressions with my shortcuts.vdf file on my PC which has a CamelCase key name, though it is not a very extensive list of shortcuts
Seems good, I don't think it can break anything.
It seems VDF file casing can be rather inconsistent.
Definitively.
For some reason, my steam deck has AppName as lowercase in the .steam/steam/userdata/xxxxx/config/shortcuts.vdf This is a quick fix that supports both uppercase and lowercase variations.