From c174cb7d14526aea561ef51aa4dd3d44e6d51e54 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Tue, 29 Aug 2017 03:35:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=D1=84=D0=B8=D0=BA=D1=81=20?= =?UTF-8?q?=D0=B0=D0=BF=D0=BF=D0=BC=D0=B0=D1=80=D0=BA=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications.cfg | 2 +- Applications/AppMarket/AppMarket.lua | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Applications.cfg b/Applications.cfg index 949f008a..c79cb418 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -920,7 +920,7 @@ icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic", createShortcut="dock", forceDownload=true, - version=1.61, + version=1.62, resources={ { path="/Update.pic", diff --git a/Applications/AppMarket/AppMarket.lua b/Applications/AppMarket/AppMarket.lua index 3035ed65..ebb52fba 100755 --- a/Applications/AppMarket/AppMarket.lua +++ b/Applications/AppMarket/AppMarket.lua @@ -31,12 +31,12 @@ local function newApp(x, y, width, applicationListElement, hideDownloadButton) if applicationListElement.icon then web.downloadFile(applicationListElement.icon, temproraryIconPath) app.icon.image = image.load(temproraryIconPath) - else - if applicationListElement.type == "Wallpaper" then - app.icon.image = MineOSCore.icons.image - elseif applicationListElement.type == "Library" then - app.icon.image = MineOSCore.icons.lua - end + -- else + -- if applicationListElement.type == "Wallpaper" then + -- app.icon.image = MineOSCore.icons.image + -- elseif applicationListElement.type == "Library" then + -- app.icon.image = MineOSCore.icons.lua + -- end end app.downloadButton = app:addChild(GUI.button(1, 1, 13, 1, 0x66DB80, 0xFFFFFF, 0x339240, 0xFFFFFF, localization.download))