milo name clash breaks require on Windows

This commit is contained in:
kepler155c@gmail.com
2019-02-08 19:07:40 -05:00
parent af85d0aafb
commit 8a0cf10498
5 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,12 @@
local device = _G.device
local fs = _G.fs
local shell = _ENV.shell
if device.workbench then
shell.openForegroundTab('Milo')
if fs.exists('packages/milo/Milo.lua') then
fs.delete('packages/milo/Milo.lua')
fs.delete('packages/milo/plugins/listing.lua')
end
if device.workbench then
shell.openForegroundTab('MiloLocal')
end