minecraft-cc-tools/install.lua
2024-05-08 21:04:49 +02:00

17 lines
360 B
Lua

local LIST_FILES = {
'turtle-utils.lua',
'robot.lua',
'miner.lua'
};
local REPO_PREFIX = 'https://git.trapcloud.fr/guillaumearm/minecraft-cc-tools/raw/branch/master/'
local previousDir = shell.dir()
for _, filePath in pairs(LIST_FILES) do
fs.delete(filePath)
shell.execute('wget', REPO_PREFIX .. filePath, filePath)
end
shell.setDir(previousDir)