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
To install Halyde from OpenOS, simply run:
`pastebin run iV8P6VZ5`
`pastebin run 3RU3Z303`
If for some reason that doesn't work, try:
+13 -1
View File
@@ -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",
}
}
}
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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(...)
+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")
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