修复检测第一次启动失败

This commit is contained in:
MrZ626
2021-11-30 01:40:53 +08:00
parent 5543ff0d29
commit 81b5ccae30

View File

@@ -415,7 +415,6 @@ do
local needSave
if not fs.getInfo('conf/data')then
FIRSTLAUNCH=true
needSave=true
end
if type(STAT.version)~='number'then
@@ -559,7 +558,8 @@ do
end
end
--First start for phones
--First start
FIRSTLAUNCH=STAT.run==0
if FIRSTLAUNCH and MOBILE then
SETTING.VKSwitch=true
SETTING.powerInfo=true