v1.0.3 - Fixed WebInstall again. Hopefully for the last time.

This commit is contained in:
TheWahlolly
2025-05-18 21:28:18 +03:00
parent c363c78dd3
commit 40c3ea7665
5 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ A universal, customizable and feature-packed operating system for OpenComputers.
## Installation ## Installation
To install Halyde from OpenOS, simply run: To install Halyde from OpenOS, simply run:
`pastebin run iV8P6VZ5` `pastebin run 3RU3Z303`
If for some reason that doesn't work, try: If for some reason that doesn't work, try:
+13 -1
View File
@@ -1,7 +1,7 @@
local agcfg = { local agcfg = {
["halyde"] = { ["halyde"] = {
["maindir"] = "", ["maindir"] = "",
["version"] = "1.0.2", ["version"] = "1.0.3",
["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",
@@ -75,6 +75,18 @@ local agcfg = {
"halyde/apps/edit.lua", "halyde/apps/edit.lua",
"halyde/apps/helpdb/edit.txt" "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",
}
} }
} }
+1 -1
View File
@@ -10,7 +10,7 @@ end
if directory:sub(1, 1) ~= "/" then if directory:sub(1, 1) ~= "/" then
directory = shell.workingDirectory .. directory directory = shell.workingDirectory .. directory
end end
if fs.exists(file) then if fs.exists(directory) then
print("\27[91mAn object already exists at the specified path.") print("\27[91mAn object already exists at the specified path.")
end end
fs.makeDirectory(file) fs.makeDirectory(file)
+1 -1
View File
@@ -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.2" _G._OSVERSION = "Halyde 1.0.3"
function _G.import(module, ...) function _G.import(module, ...)
local args = table.pack(...) local args = table.pack(...)
+1 -1
View File
@@ -110,7 +110,7 @@ end
local webInstallConfig = getFile("https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/argentum.cfg") local webInstallConfig = getFile("https://raw.githubusercontent.com/Team-Cerulean-Blue/Halyde/refs/heads/main/argentum.cfg")
webInstallConfig = load(webInstallConfig) webInstallConfig = load(webInstallConfig)
webInstallConfig = webInstallConfig() webInstallConfig = webInstallConfig()
local installationOrder = {"halyde", "edit", "argentum"} local installationOrder = {"halyde", "edit", "argentum", "webinstall-extras"}
local oldFiles = {} local oldFiles = {}
for oldFile in fs.list(installLocation) do for oldFile in fs.list(installLocation) do
local usedFlag = false local usedFlag = false