diff --git a/milo/autorun/milo.lua b/milo/autorun/milo.lua index bbb626f..ecf0d82 100644 --- a/milo/autorun/milo.lua +++ b/milo/autorun/milo.lua @@ -6,6 +6,7 @@ fs.delete('packages/milo/Milo.lua') fs.delete('packages/milo/plugins/listing.lua') fs.delete('packages/milo/apis/milo.lua') fs.delete('packages/milo/plugins/manipulator.lua') +fs.delete('packages/milo/apps') if peripheral.find('workbench') and shell.openForegroundTab then shell.openForegroundTab('MiloLocal') diff --git a/milo/apps/storageGen.lua b/milo/storageGen.lua similarity index 97% rename from milo/apps/storageGen.lua rename to milo/storageGen.lua index c4ea024..542f410 100644 --- a/milo/apps/storageGen.lua +++ b/milo/storageGen.lua @@ -86,7 +86,7 @@ end function page:saveConfig(path) local config = Util.readTable(path) or {} Util.each(self.storages, function(dev, name) - if self.typeGrid.values[dev.type] and self.typeGrid.values[dev.type].checked and not config[name] then + if self.typeGrid.values[dev.type] and self.typeGrid.values[dev.type].checked and (not config[name] or config[name].mtype == 'ignore') then config[name] = { name = name, category = 'storage',