Красота же, ага

This commit is contained in:
Igor Timofeev 2017-09-02 00:14:20 +03:00
parent 6819a0e6df
commit 080e8f726e

View File

@ -19,24 +19,20 @@ if not _G._OSVERSION or tonumber(_G._OSVERSION:sub(8, 10)) < 1.5 then
table.insert(reasons, "Old version of OpenComputers mod detected: MineOS requires OpenComputers 1.5 or newer to work properly.")
end
-- if computer.getArchitecture and computer.getArchitecture() ~= "Lua 5.2" then
-- table.insert(reasons, "Unsupported CPU architecture detected: please take CPU in your hands, switch it to Lua 5.2 arhitecture and try again.")
-- end
if component.isAvailable("tablet") then
table.insert(reasons, "Tablet PC detected: MineOS can't be installed on tablets.")
end
if screen.setPrecise and screen.setPrecise(false) == nil then
table.insert(reasons, "Low-tier screen detected: MineOS requires Tier3 screen to work properly.")
table.insert(reasons, "Low-tier screen detected: MineOS requires Tier 3 screen to work properly.")
else
if gpu.maxResolution() < 160 then
table.insert(reasons, "Low-tier GPU detected: MineOS requires Tier3 GPU to work properly.")
table.insert(reasons, "Low-tier GPU detected: MineOS requires Tier 3 GPU to work properly.")
end
end
if computer.totalMemory() < 2097152 then
table.insert(reasons, "Not enough RAM: MineOS requires at least 2MB (2x Tier3 RAM modules) to work properly.")
table.insert(reasons, "Not enough RAM: MineOS requires at least 2MB (2x Tier 3.5 RAM modules) to work properly.")
end
if #reasons > 0 then