Fix recent bug in linux and wine browse_dir

This commit is contained in:
Xodetaetl
2014-10-17 14:59:16 +02:00
parent ab34942087
commit 94697bcb74
2 changed files with 2 additions and 2 deletions

View File

@@ -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):

View File

@@ -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):