Rare icon indicating copy to clipboard operation
Rare copied to clipboard

[BUG] When running in flatpak, steam shortcut has the wrong path

Open Jarva opened this issue 4 months ago • 5 comments

Describe the bug

When running Rare inside a flatpak, the Steam shortcuts created point to the wrong directory.

To Reproduce

Steps to reproduce the behavior:

  1. Install rare as a flatpak
  2. Add a game
  3. Right-click and add steam shortcut
  4. View steam shortcut referencing /app/bin

Expected behavior

The steam shortcut should use flatpak run io.github.dummerle.rare

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Please complete the following information

  • Operating system: [e.g. Manjaro/Windows 10] SteamOS
  • Version: [e.g. 1.6.2] 1.11.3
  • Installation method: [e.g. pip/msi/AppImage] flatpak
  • Python version: (if installed through pip or your package manager)

Additional context

Add any other context about the problem here.

Error message

You can find logs in these locations

OS Path
Windows C:\Users\<username>\AppData\Local\Rare\Rare\cache\logs
Linux /home/<username>/.cache/Rare/Rare/logs
masOS /Users/<username>/Library/Caches/Rare/Rare/logs

Jarva avatar Oct 10 '25 19:10 Jarva

The flatpak version of Rare is not something I personally use, and at this point it is probably well outdated and behind the other pre-releases. If anyone wants to offer their time and effort to maintain the flatpak-related aspects of Rare, they are more than welcome.

loathingKernel avatar Oct 10 '25 19:10 loathingKernel

Flatpak uses version 1.11.3 which is the official full release on GitHub, but was over 9 months ago. If I integrate beta flatpak releases into the github action would you be open to merging?

Jarva avatar Oct 11 '25 16:10 Jarva

Yes, and we have a repo for our flatpak here with the flatpak GH action already set up. I am just not using it so as a result I rarely look into updating it. The boilerplate is already there, there is just no maintainer right now.

Edit; I guess you already found that repo. The flathub repo is not maintained by myself but by the other maintainer who is not particularly active right now. They still merge stuff when a new release is made.

loathingKernel avatar Oct 11 '25 16:10 loathingKernel

Would it be worth including it in this repository instead of standalone? Alongside the other artifact building workflows?

Jarva avatar Oct 11 '25 16:10 Jarva

In my opinion no, because that other repo is also used to push to flathub. I am not completely against it, if it makes sense later on, but I prefer it to be it's own repo for now.

loathingKernel avatar Oct 11 '25 16:10 loathingKernel