mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-09-05 20:06:23 +00:00
暂存更改以便pull
This commit is contained in:
@ -200,7 +200,7 @@ def __main__():
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
os.chdir(__file__[:len(__file__) - __file__[len(__file__)::-1].index('/')])
|
os.chdir(__file__[:len(__file__) - __file__[len(__file__)::-1].index('/')])
|
||||||
except FileNotFoundError:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
log('其他平台:{} 更新执行位置,当前文件位置 {}'.format(sys.platform, __file__))
|
log('其他平台:{} 更新执行位置,当前文件位置 {}'.format(sys.platform, __file__))
|
||||||
print('完成!')
|
print('完成!')
|
||||||
@ -1470,7 +1470,10 @@ def __main__():
|
|||||||
|
|
||||||
root.title(READABLETEXT[41].format(__version__))
|
root.title(READABLETEXT[41].format(__version__))
|
||||||
root.geometry('900x900') # 像素
|
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('完成!')
|
print('完成!')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user