mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-27 16:38:06 +08:00
Repairing some machine can't open the runner problem
This commit is contained in:
parent
194f086b58
commit
1390ca65aa
@ -49,9 +49,10 @@ defultProgramList = {
|
|||||||
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
||||||
iconPath = "{}/deepin-wine-runner.svg".format(programPath)
|
iconPath = "{}/deepin-wine-runner.svg".format(programPath)
|
||||||
try:
|
try:
|
||||||
setting = json.loads(readtxt(get_home() + "/.config/deepin-wine-runner/WineSetting.json"))
|
|
||||||
information = json.loads(readtxt(f"{programPath}/information.json"))
|
information = json.loads(readtxt(f"{programPath}/information.json"))
|
||||||
|
setting = json.loads(readtxt(get_home() + "/.config/deepin-wine-runner/WineSetting.json"))
|
||||||
except:
|
except:
|
||||||
|
traceback.print_exc()
|
||||||
setting = defultProgramList
|
setting = defultProgramList
|
||||||
|
|
||||||
def SetFont(app):
|
def SetFont(app):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user