Add simple reload script for itemcontroller
This commit is contained in:
parent
71406dfe11
commit
8533d837cd
14
reload.lua
Normal file
14
reload.lua
Normal file
@ -0,0 +1,14 @@
|
||||
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 cc-utilities/itemcontroller")
|
Loading…
x
Reference in New Issue
Block a user