From 65fcf654a30e2a33b5c9d04ce58ac884ee65b9cc Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 27 Jun 2022 22:45:25 +0100 Subject: pm --- pm.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pm.lua diff --git a/pm.lua b/pm.lua new file mode 100644 index 0000000..ff2bef6 --- /dev/null +++ b/pm.lua @@ -0,0 +1,7 @@ +local function dl(filename) + local file=fs.open("/"..filename..".lua") + local res = http.get("https://g.gh0.pw/ccprogs/plain/"..filename..".lua") + file.write(res.readAll()) +end + +dl(arg[1]) -- cgit v1.2.3