PhilipK / BoilR

Synchronize games from other platforms into your Steam library
Apache License 2.0
1.35k stars 41 forks source link

Flatpak apps detected and added with incorrect name. #400

Closed mmarquezs closed 3 months ago

mmarquezs commented 3 months ago

Describe the bug For some reason some of the Flatpak apps, are being detected and added with an incorrect name, instead of showing the app name, it is showing the app author name.

To Reproduce Steps to reproduce the behavior:

  1. Install any of the apps with the issue, like Protontricks for example.
  2. Check FlatPak section in the import games tab in BoilR.
  3. The app, in this case Protontricks, instead of being called that, is called "Janne Pulkkinen".
  4. Click on the button to add them to Steam, check the Steam and you will see that same name.

Expected behavior The name is the app name as seen in FlatHub/KDE Discover.

Screenshots I can add a screenshot if needed but it's pretty easy to see an test.

Desktop (please complete the following information):

Additional context No

mmarquezs commented 3 months ago

Ok... I took a look into your code and I saw you simply call the flatpak cli. It seems to be some weird thing with the flatpak cli: flatpak list --app Seems to return in the "name" column the author name in some cases, so not a BoilR bug per se... I found the bug in flatpak repo, will be fixed soon.

https://github.com/flatpak/flatpak/issues/5743