aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/games/game_baldursgate3.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/basic_games/games/game_baldursgate3.py')
-rw-r--r--libs/basic_games/games/game_baldursgate3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/basic_games/games/game_baldursgate3.py b/libs/basic_games/games/game_baldursgate3.py
index 4898696..718d4f3 100644
--- a/libs/basic_games/games/game_baldursgate3.py
+++ b/libs/basic_games/games/game_baldursgate3.py
@@ -170,6 +170,7 @@ class BG3Game(BasicGame, bg3_file_mapper.BG3FileMapper):
def _on_finished_run(self, exec_path: str, exit_code: int):
if "bin/bg3" not in exec_path:
return
+ self.cleanup() # Remove symlinks created by the file mapper on Linux
cat = QLoggingCategory.defaultCategory()
self.utils.log_dir.mkdir(parents=True, exist_ok=True)
if (