We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e17bf3a commit f988638Copy full SHA for f988638
legendary/cli.py
@@ -845,7 +845,7 @@ def _launch_origin(self, args):
845
logger.warning(f'Pre-launch command failed: {e!r}')
846
847
logger.debug(f'Opening Origin URI with command: {shlex.join(command)}')
848
- subprocess.Popen(command, env=full_env)
+ subprocess.Popen(command, env=full_env, cwd=full_env.get('WINEPREFIX', None))
849
850
def install_game(self, args):
851
if not self.core.lgd.lock_installed():
0 commit comments