Use slightly different args for wine
This commit is contained in:
parent
df83511e45
commit
3de1c34e05
1 changed files with 4 additions and 1 deletions
|
@ -55,8 +55,11 @@ Future<void> runDetachedProton(
|
|||
List<String> args = ["run", command];
|
||||
args.addAll(argx);
|
||||
|
||||
List<String> wineArgs = [command];
|
||||
wineArgs.addAll(argx);
|
||||
|
||||
if (settings.inst!.pterodactylMode)
|
||||
StateMachine.PROC = await Process.start("wine", args,
|
||||
StateMachine.PROC = await Process.start("wine", wineArgs,
|
||||
environment: env,
|
||||
workingDirectory: workingDir,
|
||||
mode: ProcessStartMode.normal);
|
||||
|
|
Loading…
Reference in a new issue