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
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…
Reference in a new issue