added get utility

This commit is contained in:
navid.sassan 2021-01-09 03:19:46 +01:00
parent cde792cbe7
commit bc0527e651

7
get Normal file
View File

@ -0,0 +1,7 @@
-- utility to download files from the git repo
local args = { ... }
local file = args[1]
shell.run("rm", file)
shell.run("wget", "https://git.navidsassan.ch/navid.sassan/computercraft/-/raw/master/" .. file, file)