From 4f6f4ff1d1508f6939b3d23505b9219ca87682a4 Mon Sep 17 00:00:00 2001 From: YuRaNnNzZZ Date: Mon, 9 May 2016 02:23:14 +0300 Subject: [PATCH] MCWarp updater script fix Now points to proper san-get. --- .../assets/warpdrive/lua.ComputerCraft/common/updater | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/resources/assets/warpdrive/lua.ComputerCraft/common/updater b/src/main/resources/assets/warpdrive/lua.ComputerCraft/common/updater index 9e6c0069..f6544b11 100644 --- a/src/main/resources/assets/warpdrive/lua.ComputerCraft/common/updater +++ b/src/main/resources/assets/warpdrive/lua.ComputerCraft/common/updater @@ -16,12 +16,14 @@ else sg.installed = true end -if not sg.installed then shell.run("pastebin","run", "qe4nQP8F") end +if not sg.installed then + shell.run("pastebin", "get", "f89mQwxK", "san-get") + shell.run("san-get", "update") +end write("Checking for mcwarp... ") if not(fs.exists(mw.filename)) then print("not installed.") - shell.run("san-get", "install", "mcwarp") elseif (fs.isDir(mw.filename)) then print("it is directory?!?") fs.delete(mw.filename) -- установка любой ценой (2) @@ -31,10 +33,10 @@ else end if mw.installed then - shell.run("san-get","update", "mcwarp") + shell.run("san-get", "update", "mcwarp") print("Multicore Warper updated successfully.") else shell.run("san-get", "install", "mcwarp") print("Multicore Warper installed successfully.") print("Run mcwarp to setup your ship.") -end \ No newline at end of file +end