12122
This commit is contained in:
@@ -168,11 +168,11 @@ function CLLMainLua.onCheckUpgrader(isHaveUpdated)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function CLLMainLua.begain()
|
function CLLMainLua.begain()
|
||||||
pcall(fitIphoneX)
|
|
||||||
local success, msg = pcall(CLLMainLua.init)
|
local success, msg = pcall(CLLMainLua.init)
|
||||||
if not success then
|
if not success then
|
||||||
printe(msg)
|
printe(msg)
|
||||||
end
|
end
|
||||||
|
pcall(fitIphoneX)
|
||||||
|
|
||||||
-- 处理开始
|
-- 处理开始
|
||||||
if (CLCfgBase.self.isEditMode) then
|
if (CLCfgBase.self.isEditMode) then
|
||||||
|
|||||||
@@ -595,8 +595,11 @@ end
|
|||||||
|
|
||||||
function fitIphoneX()
|
function fitIphoneX()
|
||||||
local mode = SystemInfo.deviceModel
|
local mode = SystemInfo.deviceModel
|
||||||
|
printw(mode)
|
||||||
if
|
if
|
||||||
string.find(mode, "iPhone10,3") or string.find(mode, "iPhone10,6") or string.find(mode, "iPhone11,3") or
|
string.find(mode, "iPhone10,3") or
|
||||||
|
string.find(mode, "iPhone10,6") or
|
||||||
|
string.find(mode, "iPhone11,3") or
|
||||||
string.find(mode, "iPhone11,6") or -- XS Max
|
string.find(mode, "iPhone11,6") or -- XS Max
|
||||||
string.find(mode, "iPhone11,8")
|
string.find(mode, "iPhone11,8")
|
||||||
then -- xr
|
then -- xr
|
||||||
|
|||||||
Reference in New Issue
Block a user