暂存更改以便pull

This commit is contained in:
EillesWan 2022-03-28 20:40:17 +08:00
parent 441d1e9982
commit 3b4af19379

View File

@ -200,7 +200,7 @@ def __main__():
else:
try:
os.chdir(__file__[:len(__file__) - __file__[len(__file__)::-1].index('/')])
except FileNotFoundError:
except Exception:
pass
log('其他平台:{} 更新执行位置,当前文件位置 {}'.format(sys.platform, __file__))
print('完成!')
@ -1470,7 +1470,10 @@ def __main__():
root.title(READABLETEXT[41].format(__version__))
root.geometry('900x900') # 像素
root.iconbitmap('./resources/musicreater.ico', './resources/musicreater.ico')
try:
root.iconbitmap(bitmap='./resources/musicreater.ico', default='./resources/musicreater.ico')
except:
pass
print('完成!')