redromnon / HeroicBashLauncher

Directly launch any Epic Games Store and GOG game from anywhere without Heroic on Linux.
GNU General Public License v3.0
354 stars 17 forks source link

[Bug] Deleted Heroic Flatpak version gets detected #102

Closed itzpere closed 1 year ago

itzpere commented 2 years ago

Describe the bug I installed heroic flatpak but after some tweaking i realized that it is not for me so i installed the .pacman version. Now the problem is that HBL is not detection .pacman but only flatpak.

To Reproduce Install and delete flatpak version Install any other version Wont detect games

Expected behavior If there are more heroic launchers then maybe detect everyone of them and display all games

Details

Additional context So a work around for this is to go to ~/.var/app and delete heroic launcher from there. I would like this to be added to troubleshoot wiki if you think it is a not so common issue. I personally don't see a reason for people to have more heroic launchers so hope this helps anyone.

redromnon commented 2 years ago

Bash Launcher checks for Heroic by default in ~/.config/heroic but changes to ~/.var/app/com.heroicgameslauncher.hgl/config/heroic for flatpak if it detects this path.

If I'm not wrong, there was a similar issue created a long time ago. But it looks like the path mentioned above still exists even if Heroic Flatpak is deleted.

Moreover, I don't think it will make sense to display all games from different Heroic versions since users will use one of them and delete the other like in your case (pacman and delete Flatpak).

Can you suggest another way to detect if Heroic has been uninstalled as a Flatpak.