OMGDuke / protondb-decky

ProtonDB Badges is a plugin for Decky Loader to display tappable ProtonDB badges on your game pages
https://decky.xyz/
GNU General Public License v3.0
96 stars 10 forks source link

Plugin does not do sanity checks when patching route #46

Closed FrogTheFrog closed 1 year ago

FrogTheFrog commented 1 year ago

See the https://github.com/FrogTheFrog/moondeck/issues/10 issue. When patching the route it is assumed that every property cannot be null. This assumption should be removed by at least doing a sanity check like this:

image

I think this could be caused by me preventing navigation to this plugin page by returning null, regardless it should be fixed :)