From 73cc506efe32b41b7ec71d5c1fa5b683fb7b2dc4 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Fri, 28 Aug 2015 19:12:38 +0300 Subject: [PATCH] Update OS.lua --- MineOS/OS.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MineOS/OS.lua b/MineOS/OS.lua index d02b2316..2ea9139c 100644 --- a/MineOS/OS.lua +++ b/MineOS/OS.lua @@ -795,7 +795,7 @@ local function checkForUpdates() local newVersion = getVersion() --Выводим нотификацию вон в таком случае - if oldVersion <= newVersion then + if oldVersion < newVersion then return notification(lang.updatesAvailable) end end @@ -1070,7 +1070,7 @@ while true do drawDesktop(xPosOfIcons, yPosOfIcons) end elseif action == lang.contextRunFromPastebin then - local name = ecs.beautifulInput("auto", "auto", 30, lang.contextRunFromPastebin, "Ок", ecs.windowColors.background, ecs.windowColors.usualText, 0xcccccc, false, {lang.name})[1] + local name = ecs.beautifulInput("auto", "auto", 30, lang.contextRunFromPastebin, "Ок", ecs.windowColors.background, ecs.windowColors.usualText, 0xcccccc, true, {lang.name})[1] if isNameCorrect(name) then ecs.prepareToExit() shell.execute("pastebin run "..name)