diff --git a/data/computercraft/lua/bios.lua b/data/computercraft/lua/bios.lua index ad9e712..a7fc819 100644 --- a/data/computercraft/lua/bios.lua +++ b/data/computercraft/lua/bios.lua @@ -1,4 +1,4 @@ -_G._HOST = _G._HOST .. " (LeonOS 0.2.4)" +_G._HOST = _G._HOST .. " (LeonOS 0.2.5)" local fs = rawget(_G, "fs") _G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom" @@ -32,7 +32,7 @@ local rc = { _VERSION = { major = 0, minor = 2, - patch = 4 + patch = 5 }, queueEvent = pull(os, "queueEvent"), startTimer = pull(os, "startTimer"), diff --git a/data/computercraft/lua/rom/modules/main/rc/thread.lua b/data/computercraft/lua/rom/modules/main/rc/thread.lua index d375f37..8315424 100644 --- a/data/computercraft/lua/rom/modules/main/rc/thread.lua +++ b/data/computercraft/lua/rom/modules/main/rc/thread.lua @@ -103,9 +103,9 @@ function api.exists(id) end function api.id() - if not current then - error("No current thread - are you calling this outside a thread?") - end + -- if not current then + -- error("No current thread - are you calling this outside a thread?") + -- end return current.id end diff --git a/installer.lua b/installer.lua index 8916480..7deabb4 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.2.4" +local INSTALLER_VERSION = "0.2.5" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")