From 78672cf58d766979fea183fd18ed346a95b0ee8d Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 24 Aug 2015 22:45:15 +0300 Subject: [PATCH] Update OS.lua --- Applications/OS.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Applications/OS.lua b/Applications/OS.lua index ce3a235c..dcf1f7fa 100644 --- a/Applications/OS.lua +++ b/Applications/OS.lua @@ -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 ------------------------------------------------------------------------------------------------------------------------