change proton run command

This commit is contained in:
Zontreck 2023-11-03 01:19:40 -07:00
parent 93793ff300
commit 1400818384

View file

@ -47,8 +47,7 @@ class ProtonState extends State<Proton> {
env.putIfAbsent( env.putIfAbsent(
"STEAM_COMPAT_CLIENT_INSTALL_PATH", () => "~/.steam"); "STEAM_COMPAT_CLIENT_INSTALL_PATH", () => "~/.steam");
env.putIfAbsent("STEAM_COMPAT_DATA_PATH", () => dir.path); env.putIfAbsent("STEAM_COMPAT_DATA_PATH", () => dir.path);
await Process.run( var res = await Process.run("proton", ["run", "exit"],
"proton", ["run", "this_program_does_not_exist.exe"],
environment: env); environment: env);
}, },
) )