mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-28 05:09:12 +03:00
proton: Start steam.exe from C:\\windows\\system32.
This commit is contained in:
parent
ec2a650072
commit
0f1f692c70
4
proton
4
proton
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user