第一次启动会自动进入语言设置菜单 close #150

This commit is contained in:
MrZ626
2021-08-03 01:57:18 +08:00
parent 1aa991f89f
commit cca53b6376
2 changed files with 11 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ MOBILE=SYSTEM=='Android'or SYSTEM=='iOS'
SAVEDIR=fs.getSaveDirectory()
--Global Vars & Settings
FIRSTLAUNCH=false
DAILYLAUNCH=false
--System setting
@@ -265,6 +266,10 @@ end
do
local needSave
if not fs.getInfo('conf/data')then
FIRSTLAUNCH=true
needSave=true
end
if type(STAT.version)~='number'then
STAT.version=0
needSave=true