Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installed_games file not updated when uninstalling games #4398

Open
arielj opened this issue Mar 8, 2025 · 0 comments
Open

installed_games file not updated when uninstalling games #4398

arielj opened this issue Mar 8, 2025 · 0 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@arielj
Copy link
Collaborator

arielj commented Mar 8, 2025

Describe the bug

When a game is uninstalled, if the prefix is not deleted then the installed_games file still contains the uninstalled game listed as installed.

This is a problem because, if the game is reinstalled, heroic won't detect the game may need some setup steps because it will think it's not the first time it runs. In many cases it's not a problem if the game only requires installation of pre-requisites (those would be installed in the prefix), but if the setup requires other steps like copying files those won't be applied.

Add logs

Nothing relevant in logs

Steps to reproduce

  1. Install a game
  2. Run it once, an installed_games file is created in the prefix folder listing the game
  3. Uninstall the game and don't delete the prefix
  4. The installed_games file still shows the game listed, even though it was just uninstalled

Expected behavior

The game is removed from the installed_games file so, if reinstalled, the setup instructions are executed correctly

Screenshots

No response

Heroic Version

Latest Stable

System Information

Applies to any OS

Additional information

This is mainly a problem for users re-using a prefix or crossover bottle to install multiple games. When using a single prefix per game, it's common to just delete the prefix.

@arielj arielj added the bug:unconfirmed Someone works on identifying the issue label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

1 participant