Use slightly different args for wine

This commit is contained in:
zontreck 2024-05-25 15:46:29 -07:00
parent df83511e45
commit 3de1c34e05

View file

@ -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);