修复检测第一次启动失败
This commit is contained in:
4
main.lua
4
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user