proton: Start steam.exe from C:\\windows\\system32.

This commit is contained in:
Rémi Bernon 2021-10-04 14:30:38 +02:00
parent c71deab1df
commit 7b8a0edb7b
No known key found for this signature in database
GPG Key ID: 38D0E5827B54E5C9

4
proton
View File

@ -1232,7 +1232,7 @@ class Session:
f.write(" \"" + arg + "\"") f.write(" \"" + arg + "\"")
f.write(")\n") f.write(")\n")
self.dump_dbg_env(f) self.dump_dbg_env(f)
f.write("\t\"" + g_proton.wine64_bin + "\" steam.exe \"${@:-${DEF_CMD[@]}}\"\n") f.write("\t\"" + g_proton.wine64_bin + "\" c:\\\\windows\\\\system32\\\\steam.exe \"${@:-${DEF_CMD[@]}}\"\n")
os.chmod(tmpdir + "run", 0o755) os.chmod(tmpdir + "run", 0o755)
def run_proc(self, args, local_env=None): def run_proc(self, args, local_env=None):
@ -1253,7 +1253,7 @@ class Session:
else: else:
remote_debug_proc = None remote_debug_proc = None
rc = self.run_proc([g_proton.wine64_bin, "steam"] + sys.argv[2:] + self.cmdlineappend) rc = self.run_proc([g_proton.wine64_bin, "c:\\windows\\system32\\steam.exe"] + sys.argv[2:] + self.cmdlineappend)
if remote_debug_proc: if remote_debug_proc:
remote_debug_proc.kill() remote_debug_proc.kill()