cc-utilities/reload.lua
2024-11-28 00:32:21 +01:00

15 lines
377 B
Lua

local CC_UTILS_DIR = "/cc-utilities"
local result, retval = pcall(fs.delete, CC_UTILS_DIR)
if fs.exists(CC_UTILS_DIR) then
if result then
print("Wat? Delete succeeded but dir persists???")
else
print(retval)
end
return
end
shell.run("clone https://gitea.tofvesson.se/GabrielTofvesson/cc-utilities.git")
shell.run("bg")
shell.run("cc-utilities/itemcontroller")