mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-31 11:19:11 +00:00
Update flicker.lua
This commit is contained in:
parent
7e348e727c
commit
e092709368
@ -1,3 +1,6 @@
|
|||||||
|
local tArg = {...}
|
||||||
|
local filename = tArg[1]
|
||||||
|
|
||||||
if not fs.exists("windont.lua") then
|
if not fs.exists("windont.lua") then
|
||||||
print("'windont.lua' not found! Downloading...")
|
print("'windont.lua' not found! Downloading...")
|
||||||
local net = http.get("https://github.com/LDDestroier/CC/raw/master/windont/windont.lua")
|
local net = http.get("https://github.com/LDDestroier/CC/raw/master/windont/windont.lua")
|
||||||
@ -79,7 +82,7 @@ end
|
|||||||
local oldTerm = term.redirect(newTerm)
|
local oldTerm = term.redirect(newTerm)
|
||||||
|
|
||||||
parallel.waitForAny(function()
|
parallel.waitForAny(function()
|
||||||
shell.run("/rom/programs/shell.lua")
|
shell.run(filename or "/rom/programs/shell.lua")
|
||||||
end, function()
|
end, function()
|
||||||
while true do
|
while true do
|
||||||
newTerm.redraw()
|
newTerm.redraw()
|
||||||
|
Loading…
Reference in New Issue
Block a user