added installer script to readme.
This commit is contained in:
parent
3560cca7ca
commit
d3da86c95e
|
@ -8,3 +8,8 @@ Movescript is a set of libraries that remove the prohibitive tedium of writing t
|
||||||
| [Itemscript](./itemscript/) | A collection of helper functions that simplify inventory management. |
|
| [Itemscript](./itemscript/) | A collection of helper functions that simplify inventory management. |
|
||||||
|
|
||||||
These modules are intended to be used with the Turtle robots provided by the [CC:Tweaked](https://tweaked.cc/) mod for Minecraft.
|
These modules are intended to be used with the Turtle robots provided by the [CC:Tweaked](https://tweaked.cc/) mod for Minecraft.
|
||||||
|
|
||||||
|
You can run an installer script to automatically download the latest versions of all of the movescript family of libraries:
|
||||||
|
```shell
|
||||||
|
wget run https://andrewlalis.github.io/movescript/scripts/ms-installer.lua
|
||||||
|
```
|
||||||
|
|
|
@ -10,6 +10,7 @@ local libs = {
|
||||||
|
|
||||||
local BASE_URL = "https://andrewlalis.github.io/movescript/scripts/"
|
local BASE_URL = "https://andrewlalis.github.io/movescript/scripts/"
|
||||||
|
|
||||||
|
print("Running Movescript installer")
|
||||||
for _, lib in pairs(libs) do
|
for _, lib in pairs(libs) do
|
||||||
if fs.exists(lib) then
|
if fs.exists(lib) then
|
||||||
fs.delete(lib)
|
fs.delete(lib)
|
||||||
|
|
Loading…
Reference in New Issue