mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: Escape cwd path
This commit is contained in:
parent
4a03a68b79
commit
34e8f02917
2
proton
2
proton
@ -212,7 +212,7 @@ if sys.argv[1] == "run":
|
||||
if "PROTON_DUMP_DEBUG_COMMAND" in env:
|
||||
f = open("/tmp/proton_dbg_cmd", "w")
|
||||
f.write("#!/bin/bash\n\n")
|
||||
f.write("cd " + os.getcwd() + "\n")
|
||||
f.write("cd \"" + os.getcwd() + "\"\n")
|
||||
f.write("SteamGameId=\"" + env["SteamGameId"] + "\" \\\n")
|
||||
f.write("\tSteamAppId=\"" + env["SteamAppId"] + "\" \\\n")
|
||||
f.write("\tPATH=\"" + env["PATH"] + "\" \\\n")
|
||||
|
Loading…
Reference in New Issue
Block a user