v1.0.2 - Fixed a bug with /home/ being nonexistent on install and mkdir not functioning.
This commit is contained in:
+4
-2
@@ -1,14 +1,15 @@
|
|||||||
local agcfg = {
|
local agcfg = {
|
||||||
["halyde"] = {
|
["halyde"] = {
|
||||||
["maindir"] = "",
|
["maindir"] = "",
|
||||||
["version"] = "1.1.0",
|
["version"] = "1.0.2",
|
||||||
["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",
|
||||||
"halyde/apps/helpdb",
|
"halyde/apps/helpdb",
|
||||||
"halyde/config",
|
"halyde/config",
|
||||||
"halyde/core",
|
"halyde/core",
|
||||||
"halyde/lib"
|
"halyde/lib",
|
||||||
|
"home"
|
||||||
},
|
},
|
||||||
["files"] = {
|
["files"] = {
|
||||||
"init.lua",
|
"init.lua",
|
||||||
@@ -34,6 +35,7 @@ local agcfg = {
|
|||||||
"halyde/apps/help.lua",
|
"halyde/apps/help.lua",
|
||||||
"halyde/apps/ls.lua",
|
"halyde/apps/ls.lua",
|
||||||
"halyde/apps/lua.lua",
|
"halyde/apps/lua.lua",
|
||||||
|
"halyde/apps/mkdir.lua",
|
||||||
"halyde/apps/mv.lua",
|
"halyde/apps/mv.lua",
|
||||||
"halyde/apps/rm.lua",
|
"halyde/apps/rm.lua",
|
||||||
"halyde/config/shell.cfg",
|
"halyde/config/shell.cfg",
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ All default Halyde shell commands:
|
|||||||
help Shows this.
|
help Shows this.
|
||||||
ls Lists files.
|
ls Lists files.
|
||||||
lua Starts the Lua shell.
|
lua Starts the Lua shell.
|
||||||
|
mkdir Makes a directory.
|
||||||
mv Moves/renames a file.
|
mv Moves/renames a file.
|
||||||
rm Deletes a file.
|
rm Deletes a file.
|
||||||
edit Opens the text editor.
|
edit Opens the text editor.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Usage: mkdir [PATH]
|
Usage: mkdir [PATH]
|
||||||
Removes files and directories.
|
Makes a directory.
|
||||||
|
|
||||||
PATH Specifies the path to create the directory in.
|
PATH Specifies the path to create the directory in.
|
||||||
|
|
||||||
|
|||||||
@@ -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 1.0.1"
|
_G._OSVERSION = "Halyde 1.0.2"
|
||||||
|
|
||||||
function _G.import(module, ...)
|
function _G.import(module, ...)
|
||||||
local args = table.pack(...)
|
local args = table.pack(...)
|
||||||
|
|||||||
Reference in New Issue
Block a user