mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#117 removed util dependency from installer, whoops
This commit is contained in:
parent
72eb2432cc
commit
1dea5b1b7a
@ -19,12 +19,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
local util = require("scada-common.util")
|
local function println(message) print(tostring(message)) end
|
||||||
|
local function print(message) term.write(tostring(message)) end
|
||||||
|
|
||||||
local print = util.print
|
local VERSION = "v0.2"
|
||||||
local println = util.println
|
|
||||||
|
|
||||||
local VERSION = "v0.1"
|
|
||||||
|
|
||||||
local install_dir = "/.install-cache"
|
local install_dir = "/.install-cache"
|
||||||
local repo_path = "http://raw.githubusercontent.com/MikaylaFischler/cc-mek-scada/devel/"
|
local repo_path = "http://raw.githubusercontent.com/MikaylaFischler/cc-mek-scada/devel/"
|
||||||
@ -94,7 +92,7 @@ if mode == "install" or mode == "update" then
|
|||||||
|
|
||||||
if response == nil then
|
if response == nil then
|
||||||
println("failed to get installation manifest from GitHub, cannot update or install")
|
println("failed to get installation manifest from GitHub, cannot update or install")
|
||||||
println(util.c("http error ", error))
|
println("http error " .. error)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user