Repairing some machine can't open the runner problem

This commit is contained in:
gfdgd xi 2023-12-25 22:13:03 +08:00
parent 194f086b58
commit 1390ca65aa

View File

@ -49,9 +49,10 @@ defultProgramList = {
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
iconPath = "{}/deepin-wine-runner.svg".format(programPath)
try:
setting = json.loads(readtxt(get_home() + "/.config/deepin-wine-runner/WineSetting.json"))
information = json.loads(readtxt(f"{programPath}/information.json"))
setting = json.loads(readtxt(get_home() + "/.config/deepin-wine-runner/WineSetting.json"))
except:
traceback.print_exc()
setting = defultProgramList
def SetFont(app):