mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 05:28:15 +03:00
proton: Run steam from its Program Files (x86) location.
For CoD: Black Ops 3. CW-Bug-Id: #19362
This commit is contained in:
parent
bcccab62e0
commit
b203ba6bdd
6
proton
6
proton
@ -1304,7 +1304,11 @@ class Session:
|
|||||||
else:
|
else:
|
||||||
remote_debug_proc = None
|
remote_debug_proc = None
|
||||||
|
|
||||||
rc = self.run_proc([g_proton.wine64_bin, "c:\\windows\\system32\\steam.exe"] + sys.argv[2:] + self.cmdlineappend)
|
# CoD: Black Ops 3 workaround
|
||||||
|
if os.environ.get("SteamGameId", 0) == "311210":
|
||||||
|
rc = self.run_proc([g_proton.wine_bin, "c:\\Program Files (x86)\\Steam\\steam.exe"] + sys.argv[2:] + self.cmdlineappend)
|
||||||
|
else:
|
||||||
|
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