From 4bbfc98a463dd65a2d8affc4cf70ceb9da8a09a9 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Wed, 26 Aug 2015 23:02:30 +0300 Subject: [PATCH] Update OS.lua --- Applications/OS.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/OS.lua b/Applications/OS.lua index 844ebfab..b047b184 100644 --- a/Applications/OS.lua +++ b/Applications/OS.lua @@ -627,7 +627,7 @@ end --Запустить конфигуратор ОС, если еще не запускался local function launchConfigurator() - if not fs.exists("System/OS/Users.cfg") and not fs.exists("System/OS/Password.cfg") then + if not fs.exists("System/OS/Users.cfg") and not fs.exists("System/OS/Password.cfg") and not fs.exists("System/OS/WithoutProtection.cfg") then drawAll() --ecs.prepareToExit() shell.execute("System/OS/Configurator.lua") @@ -650,7 +650,7 @@ end local function login() local readedPassword = config.readFile("System/OS/Password.cfg")[1] while true do - local password = ecs.beautifulInput("auto", "auto", 30, "Войти в систему", "Ок", ecs.windowColors.background, ecs.windowColors.usualText, ecs.colors.blue, false, {"Пароль", true})[1] + local password = ecs.beautifulInput("auto", "auto", 30, "Войти в систему", "Ок", ecs.windowColors.background, ecs.windowColors.usualText, 0xcccccc, false, {"Пароль", true})[1] if password == readedPassword then return else