整理代码

This commit is contained in:
MrZ626
2021-06-06 12:26:30 +08:00
parent b7b630fc81
commit ef8bf5fc3e
6 changed files with 19 additions and 21 deletions

View File

@@ -86,7 +86,7 @@ MODES= require"parts.modes"
FIELD[1]=DATA.newBoard()
--First start for phones
if not fs.getInfo("conf/settings")and MOBILE then
if not fs.getInfo('conf/settings')and MOBILE then
SETTING.VKSwitch=true
SETTING.swap=false
SETTING.powerInfo=true
@@ -244,8 +244,8 @@ do
autoRestart=true
end
if STAT.version<1405 then
fs.remove("conf/user")
fs.remove("conf/key")
fs.remove('conf/user')
fs.remove('conf/key')
needSave=true
autoRestart=true
end