整理代码,修改颜色名和几乎所有的使用方法(可能有错误,需要后续再整理)
This commit is contained in:
@@ -241,15 +241,15 @@ function NET.updateWS_app()
|
||||
end
|
||||
end
|
||||
if VERSION.code<res.newestCode then
|
||||
LOG.print(text.oldVersion:gsub("$1",res.newestName),180,COLOR.sky)
|
||||
LOG.print(text.oldVersion:gsub("$1",res.newestName),180,COLOR.N)
|
||||
end
|
||||
LOG.print(res.notice,300,COLOR.sky)
|
||||
LOG.print(res.notice,300,COLOR.N)
|
||||
elseif res.action==0 then--Get new version info
|
||||
--?
|
||||
elseif res.action==1 then--Get notice
|
||||
--?
|
||||
elseif res.action==2 then--Register
|
||||
LOG.print(res.data.message,300,COLOR.sky)
|
||||
LOG.print(res.data.message,300,COLOR.N)
|
||||
if SCN.cur=="register"then SCN.back()end
|
||||
NET.unlock("register")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user