mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
Display UAC prompt for games which requires admin rights
This commit is contained in:
parent
3963382b3f
commit
79979ed0bf
|
@ -714,7 +714,7 @@ class LegendaryCLI:
|
|||
if params.environment:
|
||||
logger.debug('Environment overrides: {}'.format(', '.join(
|
||||
f'{k}={v}' for k, v in params.environment.items())))
|
||||
subprocess.Popen(full_params, cwd=params.working_directory, env=full_env)
|
||||
subprocess.Popen(full_params, cwd=params.working_directory, env=full_env, shell=True)
|
||||
|
||||
def _launch_origin(self, args):
|
||||
game = self.core.get_game(app_name=args.app_name)
|
||||
|
|
Loading…
Reference in a new issue