Skip to content

Commit

Permalink
Merge pull request #4 from hartwork/wineserver-path-debian
Browse files Browse the repository at this point in the history
Add /usr/lib/wine to PATH if existing for e.g. Debian
  • Loading branch information
hartwork authored Mar 2, 2023
2 parents 46bdf02 + 1f32ea6 commit 3c425c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sandwine/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def create_bwrap_argv(config):

# Filter ${PATH}
candidate_paths = os.environ['PATH'].split(os.pathsep)
candidate_paths.append('/usr/lib/wine') # for wineserver on e.g. Debian
available_paths = []
for candidate_path in candidate_paths:
candidate_path = os.path.realpath(candidate_path)
Expand Down

0 comments on commit 3c425c3

Please sign in to comment.