diff --git a/argentum.cfg b/argentum.cfg index cbbfef0..2ad87c4 100644 --- a/argentum.cfg +++ b/argentum.cfg @@ -1,7 +1,7 @@ local agcfg = { ["halyde"] = { ["maindir"] = "", - ["version"] = "1.3.0", + ["version"] = "1.3.1", ["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.", ["directories"] = { "halyde/apps", diff --git a/argentum/store/halyde/package.cfg b/argentum/store/halyde/package.cfg index f76e85d..fcc3fd1 100644 --- a/argentum/store/halyde/package.cfg +++ b/argentum/store/halyde/package.cfg @@ -37,7 +37,7 @@ Ahalyde/lib/component.lua Ahalyde/lib/event.lua Ahalyde/lib/filesystem.lua Ahalyde/lib/raster.lua -V1.3.0 +V1.3.1 Ahalyde/ Ahalyde/apps/ Ahalyde/apps/helpdb/ diff --git a/halyde/apps/argentum.lua b/halyde/apps/argentum.lua index 5d93be0..a65783f 100644 --- a/halyde/apps/argentum.lua +++ b/halyde/apps/argentum.lua @@ -272,13 +272,15 @@ local function updatePackage(package) handle:close() local oldFiles = {} for line in (data .. "\n"):gmatch("(.-)\n") do - if agcfg[package].directories then - if not table.find(agcfg[package].files, line:sub(2)) and not table.find(agcfg[package].directories, line:sub(2, -2)) then - table.insert(oldFiles, line:sub(2)) - end - else - if not table.find(agcfg[package].files, line:sub(2)) then - table.insert(oldFiles, line:sub(2)) + if line:sub(1, 1) == "A" or line:sub(1, 1) == "M" then + if agcfg[package].directories then + if not table.find(agcfg[package].files, line:sub(2)) and not table.find(agcfg[package].directories, line:sub(2, -2)) then + table.insert(oldFiles, line:sub(2)) + end + else + if not table.find(agcfg[package].files, line:sub(2)) then + table.insert(oldFiles, line:sub(2)) + end end end end diff --git a/halyde/core/boot.lua b/halyde/core/boot.lua index 53a64e7..366ce31 100644 --- a/halyde/core/boot.lua +++ b/halyde/core/boot.lua @@ -1,7 +1,7 @@ local loadfile = ... local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile) -_G._OSVERSION = "Halyde 1.3.0" +_G._OSVERSION = "Halyde 1.3.1" _G._OSLOGO = "" local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil repeat