From 1ad8b530ea4a425a6de0bf7370dd427bbbfd68d6 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 13 Mar 2018 12:57:53 -0500 Subject: [PATCH] proton: For now, always dump debug scripts --- proton | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proton b/proton index 317cba3d..0d18bb16 100755 --- a/proton +++ b/proton @@ -301,11 +301,11 @@ def dump_dbg_script(path, cmd, descr): #determine mode if sys.argv[1] == "run": #start target app - if "PROTON_DUMP_DEBUG_COMMAND" in os.environ: +# if "PROTON_DUMP_DEBUG_COMMAND" in os.environ: #for now, we are always dumping these dump_dbg_script("/tmp/proton_dbg", ["winedbg", "$@"], "Run winedbg (with args)") dump_dbg_script("/tmp/proton_dbg_run", ["winedbg"] + sys.argv[2:], "Run winedbg with the game loaded") dump_dbg_script("/tmp/proton_run", ["$@"], "Run an arbitrary command") - else: +# else: #see above run_wine([wine_path] + sys.argv[2:]) elif sys.argv[1] == "getcompatpath": #linux -> windows path