steam_helper: Build as 64 bit.

CW-Bug-ID: #19504
This commit is contained in:
Paul Gofman
2021-11-11 18:36:08 +02:00
committed by Arkadiusz Hiler
parent cc9c109bf6
commit 89f8134740
4 changed files with 10 additions and 4 deletions
+3 -2
View File
@@ -290,6 +290,7 @@ class Proton:
self.default_pfx_dir = self.path("dist/share/default_pfx/")
self.user_settings_file = self.path("user_settings.py")
self.wine_bin = self.bin_dir + "wine"
self.wine64_bin = self.bin_dir + "wine64"
self.wineserver_bin = self.bin_dir + "wineserver"
self.dist_lock = FileLock(self.path("dist.lock"), timeout=-1)
@@ -1226,7 +1227,7 @@ class Session:
f.write(" \"" + arg + "\"")
f.write(")\n")
self.dump_dbg_env(f)
f.write("\t\"" + g_proton.wine_bin + "\" steam.exe \"${@:-${DEF_CMD[@]}}\"\n")
f.write("\t\"" + g_proton.wine64_bin + "\" steam.exe \"${@:-${DEF_CMD[@]}}\"\n")
os.chmod(tmpdir + "run", 0o755)
def run_proc(self, args, local_env=None):
@@ -1247,7 +1248,7 @@ class Session:
else:
remote_debug_proc = None
rc = self.run_proc([g_proton.wine_bin, "steam"] + sys.argv[2:] + self.cmdlineappend)
rc = self.run_proc([g_proton.wine64_bin, "steam"] + sys.argv[2:] + self.cmdlineappend)
if remote_debug_proc:
remote_debug_proc.kill()