HeroicBashLauncher icon indicating copy to clipboard operation
HeroicBashLauncher copied to clipboard

[Bug] Deleted Heroic Flatpak version gets detected

Open itzpere opened this issue 1 year ago • 1 comments

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

  • Platform: desktop
  • OS: HoloOS arch
  • Heroic Version: latest 2.4.3 .pacman
  • Bash Launcher Version: 2.9.2

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.

itzpere avatar Sep 12 '22 11:09 itzpere

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.

redromnon avatar Sep 12 '22 14:09 redromnon