From 067ffa925a41eadc0afbd89c71e3b66072798397 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 27 Sep 2015 02:02:57 +0300 Subject: [PATCH] Update ECSAPI.lua --- lib/ECSAPI.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ECSAPI.lua b/lib/ECSAPI.lua index e1ba63a0..b0cea008 100644 --- a/lib/ECSAPI.lua +++ b/lib/ECSAPI.lua @@ -1416,6 +1416,7 @@ local function OSIconsInit() ECSAPI.OSIcons.imageJPG = image.load(ECSAPI.pathToIcons .. "ImageJPG.png") ECSAPI.OSIcons.pastebin = image.load(ECSAPI.pathToIcons .. "Pastebin.png") ECSAPI.OSIcons.fileNotExists = image.load(ECSAPI.pathToIcons .. "FileNotExists.png") + ECSAPI.OSIcons.archive = image.load(ECSAPI.pathToIcons .. "archive.png") end end @@ -1457,6 +1458,8 @@ function ECSAPI.drawOSIcon(x, y, path, showFileFormat, nameColor) icon = "imageJPG" elseif fileFormat == ".paste" then icon = "pastebin" + elseif fileFormat == ".zip" then + icon = "archive" elseif not fs.exists(path) then icon = "fileNotExists" else