mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
bug修复
This commit is contained in:
parent
7e98c7bdb2
commit
1e6130fcd3
@ -226,6 +226,18 @@ def __main__():
|
|||||||
if result:
|
if result:
|
||||||
SaveProject()
|
SaveProject()
|
||||||
log("程序正常退出")
|
log("程序正常退出")
|
||||||
|
|
||||||
|
try:
|
||||||
|
global dataset
|
||||||
|
del dataset
|
||||||
|
except:
|
||||||
|
pass;
|
||||||
|
|
||||||
|
global root
|
||||||
|
root.destroy()
|
||||||
|
del root
|
||||||
|
|
||||||
|
|
||||||
if clearLog :
|
if clearLog :
|
||||||
print("清除log(此句不载入日志)")
|
print("清除log(此句不载入日志)")
|
||||||
try:
|
try:
|
||||||
@ -242,16 +254,6 @@ def __main__():
|
|||||||
pass;
|
pass;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
|
||||||
global dataset
|
|
||||||
del dataset
|
|
||||||
except:
|
|
||||||
pass;
|
|
||||||
|
|
||||||
global root
|
|
||||||
root.destroy()
|
|
||||||
del root
|
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
|
||||||
@ -926,10 +928,11 @@ def __main__():
|
|||||||
rys.World2Rys(outdir,begp,endp,isAir)
|
rys.World2Rys(outdir,begp,endp,isAir)
|
||||||
try:
|
try:
|
||||||
with open(fileName,'w',encoding='utf-8') as f:
|
with open(fileName,'w',encoding='utf-8') as f:
|
||||||
json.dump(rys,f)
|
json.dump(rys.RyStruct,f,sort_keys=True, indent=4, separators=(', ', ': '), ensure_ascii=False)
|
||||||
tkinter.messagebox.showinfo("成功✔",'文件已生成\n'+fileName)
|
tkinter.messagebox.showinfo("成功✔",'文件已生成\n'+fileName)
|
||||||
except:
|
except:
|
||||||
tkinter.messagebox.showerror("失败❌",'文件无法生成\n'+fileName)
|
tkinter.messagebox.showerror("失败❌",'文件无法生成\n'+fileName+'\n'+str(rys.RyStruct))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def world2BDX():
|
def world2BDX():
|
||||||
|
Binary file not shown.
@ -101,7 +101,7 @@ class version:
|
|||||||
libraries = ('mido','amulet','amulet-core','amulet-nbt','piano_transcription_inference','pypinyin','briefcase','toga','pyinstaller','kivy','py7zr')
|
libraries = ('mido','amulet','amulet-core','amulet-nbt','piano_transcription_inference','pypinyin','briefcase','toga','pyinstaller','kivy','py7zr')
|
||||||
'''当前所需库,有一些是开发用的,用户不需要安装'''
|
'''当前所需库,有一些是开发用的,用户不需要安装'''
|
||||||
|
|
||||||
version = ('0.0.4','Beta',)
|
version = ('0.0.4.1','Beta',)
|
||||||
'''当前版本'''
|
'''当前版本'''
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
|
@ -1 +1 @@
|
|||||||
MANIFEST-000060
|
MANIFEST-000073
|
||||||
|
Binary file not shown.
BIN
测试用/CanyonTest/db/MANIFEST-000073
Normal file
BIN
测试用/CanyonTest/db/MANIFEST-000073
Normal file
Binary file not shown.
0
测试用/test.RyStruct
Normal file
0
测试用/test.RyStruct
Normal file
Loading…
Reference in New Issue
Block a user