v2.4.1 - Now preloading filesystem library for faster boot times and memory saving.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
local agcfg = {
|
local agcfg = {
|
||||||
["halyde"] = {
|
["halyde"] = {
|
||||||
["maindir"] = "",
|
["maindir"] = "",
|
||||||
["version"] = "2.4.0",
|
["version"] = "2.4.1",
|
||||||
["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.",
|
["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.",
|
||||||
["directories"] = {
|
["directories"] = {
|
||||||
"halyde/apps",
|
"halyde/apps",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
local loadfile = ...
|
local loadfile = ...
|
||||||
local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile)
|
local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile)
|
||||||
|
|
||||||
_G._OSVERSION = "Halyde 2.4.0"
|
_G._OSVERSION = "Halyde 2.4.1"
|
||||||
_G._OSLOGO = ""
|
_G._OSLOGO = ""
|
||||||
local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil
|
local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil
|
||||||
repeat
|
repeat
|
||||||
@@ -48,6 +48,7 @@ end
|
|||||||
|
|
||||||
preload("component")
|
preload("component")
|
||||||
preload("computer")
|
preload("computer")
|
||||||
|
preload("filesystem")
|
||||||
|
|
||||||
local component = import("component")
|
local component = import("component")
|
||||||
local gpu = component.gpu
|
local gpu = component.gpu
|
||||||
|
|||||||
Reference in New Issue
Block a user