installed_games
file not updated when uninstalling games
#4398
Labels
bug:unconfirmed
Someone works on identifying the issue
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
Steps to reproduce
installed_games
file is created in the prefix folder listing the gameinstalled_games
file still shows the game listed, even though it was just uninstalledExpected behavior
The game is removed from the
installed_games
file so, if reinstalled, the setup instructions are executed correctlyScreenshots
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.
The text was updated successfully, but these errors were encountered: