overlay/install.lua

by hugeblank
560 days agolua
COPY
1
-- Usage: pastebin run EcMBeGtp7K
2
-- Installs the dynoverlay program and necessary dynmap API
3
-- For more information, see Dynoverlay: https://p.sc3.io/CFpgFHpXjv
4
path = ...
5
path = path or "overlay"
6
fs.makeDir(path)
7
shell.run("pastebin get hxHMUvEx8y", fs.combine(path, "dynmap.lua"))
8
shell.run("pastebin get CFpgFHpXjv", fs.combine(path, "dynoverlay.lua"))
9
print("installed to "..path)