update install
This commit is contained in:
10
install.lua
10
install.lua
@@ -1,5 +1,5 @@
|
||||
local expect = require "cc.expect".expect
|
||||
local base_url = "https://git.cadencoaster.com/Rivulet/ccde/raw/branch/main/"
|
||||
local base_url = "https://git.cadencoaster.com/Rivulet/ccphone/raw/branch/main/"
|
||||
local function download_to(path)
|
||||
expect(2, path, "string")
|
||||
term.write(path)
|
||||
@@ -26,12 +26,12 @@ local filesystem = {
|
||||
"global-libraries",
|
||||
"apps-meta",
|
||||
},
|
||||
}
|
||||
|
||||
for _,i in ipairs(filesystem.dirs) do
|
||||
}for _,i in ipairs(filesystem.dirs) do
|
||||
print("making dir",i)
|
||||
fs.makeDir(i)
|
||||
end
|
||||
for _,i in ipairs(filesystem.files) do
|
||||
download_to(i)
|
||||
end
|
||||
end
|
||||
|
||||
shell.run("wget run https://raw.githubusercontent.com/Pyroxenium/Basalt2/main/install.lua -f /global-libraries/basalt.lua")
|
||||
Reference in New Issue
Block a user