mirror of
https://github.com/derrod/legendary.git
synced 2026-08-10 02:53:30 +00:00
Set CWD when launching a title through the EA app (#776)
This commit is contained in:
parent
1d1826f3c4
commit
1be4b7e2ba
|
|
@ -836,7 +836,7 @@ class LegendaryCLI:
|
|||
logger.warning(f'Pre-launch command failed: {e!r}')
|
||||
|
||||
logger.debug(f'Opening URI with command: {shlex.join(command)}')
|
||||
subprocess.Popen(command, env=full_env)
|
||||
subprocess.Popen(command, env=full_env, cwd=full_env.get('WINEPREFIX', None))
|
||||
|
||||
def install_game(self, args):
|
||||
if not self.core.lgd.lock_installed():
|
||||
|
|
|
|||
Loading…
Reference in a new issue