mirror of
https://github.com/lutris/lutris.git
synced 2026-06-21 20:30:04 -04:00
Fix recent bug in linux and wine browse_dir
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user