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
1 changed files with 5 additions and 1 deletions
4
proton
4
proton
|
@ -1304,6 +1304,10 @@ class Session:
|
||||||
else:
|
else:
|
||||||
remote_debug_proc = None
|
remote_debug_proc = None
|
||||||
|
|
||||||
|
# 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)
|
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:
|
||||||
|
|
Loading…
Reference in a new issue