diff --git a/argentum.cfg b/argentum.cfg index 0ec17b8..1205f87 100644 --- a/argentum.cfg +++ b/argentum.cfg @@ -1,7 +1,7 @@ local agcfg = { ["halyde"] = { ["maindir"] = "", - ["version"] = "1.14.0", + ["version"] = "1.14.1", ["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.", ["directories"] = { "halyde/apps", diff --git a/halyde/core/boot.lua b/halyde/core/boot.lua index 5bee363..0b211fb 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.14.0" +_G._OSVERSION = "Halyde 1.14.1" _G._OSLOGO = "" local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil repeat @@ -19,10 +19,8 @@ function _G.import(module, ...) return package.preloaded[module] end local modulepath - if module:find("^/") then - if filesystem.exists(module) then - modulepath = module - end + if filesystem.exists(module) then + modulepath = module elseif filesystem.exists("/halyde/lib/"..module..".lua") then modulepath = "/halyde/lib/"..module..".lua" elseif shell and shell.workingDirectory and filesystem.exists(shell.workingDirectory..module) then