add update function
This commit is contained in:
@@ -823,6 +823,7 @@ while true do
|
|||||||
"Print Design",
|
"Print Design",
|
||||||
"VPrint Design",
|
"VPrint Design",
|
||||||
"Join VPrint",
|
"Join VPrint",
|
||||||
|
"Update",
|
||||||
}, "Select Action")
|
}, "Select Action")
|
||||||
|
|
||||||
if action == 1 then
|
if action == 1 then
|
||||||
@@ -969,5 +970,10 @@ while true do
|
|||||||
until id == masterid
|
until id == masterid
|
||||||
VP_printstack(buf,dimensions, cx,1,cz,0)
|
VP_printstack(buf,dimensions, cx,1,cz,0)
|
||||||
end
|
end
|
||||||
|
if action == 5 then
|
||||||
|
shell.run("rm", "main.lua")
|
||||||
|
shell.run("wget", url)
|
||||||
|
return
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user