diff --git a/README.md b/README.md index b7a31d3..d4077c5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ A universal, customizable and feature-packed operating system for OpenComputers. ## Installation To install Halyde from OpenOS, simply run: -`pastebin run 9gf8RA2A` +`pastebin run MB21BTMv` If for some reason that doesn't work, try: diff --git a/webinstall.lua b/webinstall.lua index 5ac5425..9a565c2 100644 --- a/webinstall.lua +++ b/webinstall.lua @@ -1,3 +1,4 @@ +local io = require("io") local component = require("component") if not component.isAvailable("internet") then 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.") elseif #drives == 1 then installLocation = "/mnt/" .. drives[1] + installAddress = driveAddresses[1] end gpu.fill(1,1,width,height," ")