Files
opus-apps/milo/autorun/milo.lua
2019-03-27 15:22:13 -04:00

15 lines
372 B
Lua

local fs = _G.fs
local peripheral = _G.peripheral
local shell = _ENV.shell
if fs.exists('packages/milo/Milo.lua') then
fs.delete('packages/milo/Milo.lua')
fs.delete('packages/milo/plugins/listing.lua')
end
fs.delete('packages/milo/apis/milo.lua')
if peripheral.find('workbench') and shell.openForegroundTab then
shell.openForegroundTab('MiloLocal')
end