Merge branch 'main' of https://github.com/TheWahlolly/Halyde
This commit is contained in:
@@ -13,7 +13,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 9gf8RA2A`
|
`pastebin run MB21BTMv`
|
||||||
|
|
||||||
If for some reason that doesn't work, try:
|
If for some reason that doesn't work, try:
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
local io = require("io")
|
||||||
local component = require("component")
|
local component = require("component")
|
||||||
if not component.isAvailable("internet") then
|
if not component.isAvailable("internet") then
|
||||||
io.stderr.write("This program requires an internet card to run.")
|
io.stderr.write("This program requires an internet card to run.")
|
||||||
@@ -95,6 +96,7 @@ if #drives == 0 then
|
|||||||
io.stderr.write("All drives are read-only.\nHalyde cannot be installed.")
|
io.stderr.write("All drives are read-only.\nHalyde cannot be installed.")
|
||||||
elseif #drives == 1 then
|
elseif #drives == 1 then
|
||||||
installLocation = "/mnt/" .. drives[1]
|
installLocation = "/mnt/" .. drives[1]
|
||||||
|
installAddress = driveAddresses[1]
|
||||||
end
|
end
|
||||||
|
|
||||||
gpu.fill(1,1,width,height," ")
|
gpu.fill(1,1,width,height," ")
|
||||||
|
|||||||
Reference in New Issue
Block a user