Update OS.lua

This commit is contained in:
Igor Timofeev 2015-08-24 22:45:15 +03:00
parent c3d16b0833
commit 78672cf58d

View File

@ -542,17 +542,25 @@ local function biometry()
end
ecs.drawOldPixels(oldPixels)
Finger = nil
users = nil
end
end
local function launchConfigurator()
local path = "System/OS/Users.cfg"
if not fs.exists(path) then
shell.execute("System/OS/Configurator.lua")
return true
end
end
------------------------------------------------------------------------------------------------------------------------
drawAll()
biometry()
if not launchConfigurator() then biometry() end
------------------------------------------------------------------------------------------------------------------------