From 40c3ea7665ac1012c21260ea8f81a0c90ea2e5c9 Mon Sep 17 00:00:00 2001 From: TheWahlolly Date: Sun, 18 May 2025 21:28:18 +0300 Subject: [PATCH] v1.0.3 - Fixed WebInstall again. Hopefully for the last time. --- README.md | 2 +- argentum.cfg | 14 +++++++++++++- halyde/apps/mkdir.lua | 2 +- halyde/core/boot.lua | 2 +- webinstall.lua | 2 +- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7daed72..689a33d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A universal, customizable and feature-packed operating system for OpenComputers. ## Installation To install Halyde from OpenOS, simply run: -`pastebin run iV8P6VZ5` +`pastebin run 3RU3Z303` If for some reason that doesn't work, try: diff --git a/argentum.cfg b/argentum.cfg index 9602396..81f7880 100644 --- a/argentum.cfg +++ b/argentum.cfg @@ -1,7 +1,7 @@ local agcfg = { ["halyde"] = { ["maindir"] = "", - ["version"] = "1.0.2", + ["version"] = "1.0.3", ["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.", ["directories"] = { "halyde/apps", @@ -75,6 +75,18 @@ local agcfg = { "halyde/apps/edit.lua", "halyde/apps/helpdb/edit.txt" } + }, + ["webinstall-extras"] = { -- not actually a package + ["directories"] = { + "argentum/store/halyde/files", + "argentum/store/edit/files", + "argentum/store/argentum/files" + }, + ["files"] = { + "argentum/store/halyde/package.cfg", + "argentum/store/edit/package.cfg", + "argentum/store/argentum/package.cfg", + } } } diff --git a/halyde/apps/mkdir.lua b/halyde/apps/mkdir.lua index 2b3b759..b5ffb04 100644 --- a/halyde/apps/mkdir.lua +++ b/halyde/apps/mkdir.lua @@ -10,7 +10,7 @@ end if directory:sub(1, 1) ~= "/" then directory = shell.workingDirectory .. directory end -if fs.exists(file) then +if fs.exists(directory) then print("\27[91mAn object already exists at the specified path.") end fs.makeDirectory(file) diff --git a/halyde/core/boot.lua b/halyde/core/boot.lua index a3d9da4..9c86897 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.0.2" +_G._OSVERSION = "Halyde 1.0.3" function _G.import(module, ...) local args = table.pack(...) diff --git a/webinstall.lua b/webinstall.lua index d980753..63a4914 100644 --- a/webinstall.lua +++ b/webinstall.lua @@ -110,7 +110,7 @@ end local webInstallConfig = getFile("https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/argentum.cfg") webInstallConfig = load(webInstallConfig) webInstallConfig = webInstallConfig() -local installationOrder = {"halyde", "edit", "argentum"} +local installationOrder = {"halyde", "edit", "argentum", "webinstall-extras"} local oldFiles = {} for oldFile in fs.list(installLocation) do local usedFlag = false