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)