优化DEBUG输出信息过少的问题

This commit is contained in:
gfdgd xi 2022-09-10 07:27:10 +08:00
parent ec55faf75a
commit 5453c085c9

View File

@ -161,6 +161,8 @@ class Runexebutton_threading(QtCore.QThread):
option += f"WINEDLLOVERRIDES=\"mscoree,mshtml=\" " option += f"WINEDLLOVERRIDES=\"mscoree,mshtml=\" "
if not setting["Debug"]: if not setting["Debug"]:
option += "WINEDEBUG=-all " option += "WINEDEBUG=-all "
else:
option += "WINEDEBUG=FIXME,ERR,WARN,TRACE,Message "
wineUsingOption = "" wineUsingOption = ""
if o1.currentText() == "基于 exagear 的 deepin-wine6-stable" or o1.currentText() == "基于 box86 的 deepin-wine6-stable": if o1.currentText() == "基于 exagear 的 deepin-wine6-stable" or o1.currentText() == "基于 box86 的 deepin-wine6-stable":
wineUsingOption = "--disable-gpu" wineUsingOption = "--disable-gpu"
@ -261,6 +263,8 @@ def make_desktop_on_launcher():
option += f"WINEARCH={setting['Architecture']} " option += f"WINEARCH={setting['Architecture']} "
if not setting["Debug"]: if not setting["Debug"]:
option += "WINEDEBUG=-all " option += "WINEDEBUG=-all "
else:
option += "WINEDEBUG=FIXME,ERR,WARN,TRACE,Message "
wineUsingOption = "" wineUsingOption = ""
if o1.currentText() == "基于 box86 的 deepin-wine6-stable": if o1.currentText() == "基于 box86 的 deepin-wine6-stable":
if not os.path.exists(f"{programPath}/dlls-arm"): if not os.path.exists(f"{programPath}/dlls-arm"):