diff --git a/lutris/runners/linux.py b/lutris/runners/linux.py index e3e8bc702..682d69afa 100644 --- a/lutris/runners/linux.py +++ b/lutris/runners/linux.py @@ -65,7 +65,7 @@ class linux(Runner): @property def browse_dir(self): """Return the path to open with the Browse Files action.""" - return self.game_exe + return os.path.dirname(self.game_exe) @property def working_dir(self): diff --git a/lutris/runners/wine.py b/lutris/runners/wine.py index efce79790..dfe281c6f 100644 --- a/lutris/runners/wine.py +++ b/lutris/runners/wine.py @@ -316,7 +316,7 @@ class wine(Runner): @property def browse_dir(self): """Return the path to open with the Browse Files action.""" - return self.game_exe + return os.path.dirname(self.game_exe) @property def working_dir(self):