mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
bug fix & sup
This commit is contained in:
parent
1e6130fcd3
commit
d353fc2ee8
@ -337,8 +337,8 @@ def __main__():
|
||||
with open(fn, 'r', encoding='UTF-8') as c:
|
||||
dataset[0] = json.load(c)
|
||||
except:
|
||||
print('找不到文件:'+fn+",请查看您是否输入正确")
|
||||
log("丢失"+fn)
|
||||
print('无法打开文件:'+fn+",请查看您是否输入正确")
|
||||
log("无法打开"+fn)
|
||||
return
|
||||
global is_new_file
|
||||
global ProjectName
|
||||
@ -1345,6 +1345,27 @@ def __main__():
|
||||
|
||||
log("启动root.mainloop(窗口)")
|
||||
|
||||
|
||||
if len(sys.argv) != 1:
|
||||
log("初始化打开音·创项目"+sys.argv[1])
|
||||
global is_save
|
||||
is_save = True
|
||||
try:
|
||||
with open(sys.argv[1], 'r', encoding='UTF-8') as c:
|
||||
dataset[0] = json.load(c)
|
||||
except:
|
||||
print('无法打开文件:'+sys.argv[1]+",请查看您是否输入正确")
|
||||
log("无法打开"+sys.argv[1])
|
||||
return
|
||||
global is_new_file
|
||||
global ProjectName
|
||||
is_new_file = False
|
||||
ProjectName = sys.argv[1]
|
||||
global NowMusic
|
||||
RefreshMain()
|
||||
RefreshMusic(NowMusic)
|
||||
|
||||
|
||||
# 进入窗口消息循环
|
||||
root.mainloop()
|
||||
|
||||
|
@ -32,11 +32,12 @@ Copyright © W-YI 2021
|
||||
新更新日志
|
||||
|
||||
|
||||
Beta 0.0.4
|
||||
Beta 0.0.4 ~ Beta 0.0.4.2
|
||||
2021 11 20 ~ 2021 11 21
|
||||
1.完全支持Linux系统
|
||||
2.支持以.RyStruct导出结构
|
||||
3.修复大量bug
|
||||
4.支持拖拽打开(参数1为.msct文件)
|
||||
|
||||
|
||||
Beta 0.0.3.1~0.0.3.5
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000073
|
||||
MANIFEST-000077
|
||||
|
Binary file not shown.
BIN
测试用/CanyonTest/db/MANIFEST-000077
Normal file
BIN
测试用/CanyonTest/db/MANIFEST-000077
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
{}
|
3341
测试用/义勇军进行曲.msct
3341
测试用/义勇军进行曲.msct
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user