package manager list in repo + cleanup
This commit is contained in:
@@ -9,11 +9,20 @@ local fs = _G.fs
|
|||||||
local peripheral = _G.peripheral
|
local peripheral = _G.peripheral
|
||||||
|
|
||||||
local drives = { }
|
local drives = { }
|
||||||
|
if peripheral.getType('left') == 'drive' then
|
||||||
|
drives.left = Util.shallowCopy(peripheral.wrap('left'))
|
||||||
|
drives.left.name = 'left'
|
||||||
|
end
|
||||||
|
if peripheral.getType('right') == 'drive' then
|
||||||
|
drives.right = Util.shallowCopy(peripheral.wrap('right'))
|
||||||
|
drives.right.name = 'right'
|
||||||
|
end
|
||||||
|
|
||||||
peripheral.find('drive', function(n, v)
|
peripheral.find('drive', function(n, v)
|
||||||
if not drives.left then
|
if not drives.left then
|
||||||
drives.left = Util.shallowCopy(v)
|
drives.left = Util.shallowCopy(v)
|
||||||
drives.left.name = n
|
drives.left.name = n
|
||||||
else
|
elseif not drives.right then
|
||||||
drives.right = Util.shallowCopy(v)
|
drives.right = Util.shallowCopy(v)
|
||||||
drives.right.name = n
|
drives.right.name = n
|
||||||
end
|
end
|
||||||
@@ -44,7 +53,7 @@ local page = UI.Page {
|
|||||||
x = -19, y = 2, ey = 5, width = 18,
|
x = -19, y = 2, ey = 5, width = 18,
|
||||||
},
|
},
|
||||||
dir = UI.Button {
|
dir = UI.Button {
|
||||||
x = 17, y = 7, width = 6,
|
x = 17, y = 6, width = 6,
|
||||||
event = 'change_dir',
|
event = 'change_dir',
|
||||||
},
|
},
|
||||||
progress = UI.ProgressBar {
|
progress = UI.ProgressBar {
|
||||||
@@ -72,7 +81,7 @@ local page = UI.Page {
|
|||||||
inactive = true,
|
inactive = true,
|
||||||
},
|
},
|
||||||
warning = UI.Text {
|
warning = UI.Text {
|
||||||
x = 2, ex = -2, y = -5,
|
x = 2, ex = -2, y = -1,
|
||||||
align = 'center',
|
align = 'center',
|
||||||
textColor = colors.orange,
|
textColor = colors.orange,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
title = 'GPS',
|
title = 'GPS',
|
||||||
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/gps',
|
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/gps',
|
||||||
description = [[A single turtle GPS]],
|
description = [[A single turtle GPS server
|
||||||
|
|
||||||
|
Uses 4 wireless modems connected to a single turtle or computer connected with network cables.
|
||||||
|
The turtle will also initially place all the modems in the correct locations.
|
||||||
|
]],
|
||||||
licence = 'MIT',
|
licence = 'MIT',
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ if fs.exists('packages/milo/Milo.lua') then
|
|||||||
end
|
end
|
||||||
|
|
||||||
fs.delete('packages/milo/apis/milo.lua')
|
fs.delete('packages/milo/apis/milo.lua')
|
||||||
|
fs.delete('packages/milo/plugins/manipulator.lua')
|
||||||
|
|
||||||
if peripheral.find('workbench') and shell.openForegroundTab then
|
if peripheral.find('workbench') and shell.openForegroundTab then
|
||||||
shell.openForegroundTab('MiloLocal')
|
shell.openForegroundTab('MiloLocal')
|
||||||
|
|||||||
22
packages.list
Normal file
22
packages.list
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
[ 'common' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/common/.package',
|
||||||
|
[ 'core' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/core/.package',
|
||||||
|
[ 'builder' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/builder/.package',
|
||||||
|
[ 'ccemux' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/ccemux/.package',
|
||||||
|
[ 'farms' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/farms/.package',
|
||||||
|
-- [ 'forestry' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/forestry/.package',
|
||||||
|
[ 'games' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/games/.package',
|
||||||
|
-- [ 'glasses' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/glasses/.package',
|
||||||
|
[ 'gps' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/gps/.package',
|
||||||
|
[ 'mbs' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/mbs/.package',
|
||||||
|
[ 'milo' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/milo/.package',
|
||||||
|
[ 'miners' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/miners/.package',
|
||||||
|
[ 'monitor' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/monitor/.package',
|
||||||
|
[ 'neural' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/neural/.package',
|
||||||
|
-- [ 'pickup' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/pickup/.package',
|
||||||
|
[ 'recipeBook' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/recipeBook/.package',
|
||||||
|
[ 'shellex' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/shellex/.package',
|
||||||
|
-- [ 'storage' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/storage/.package',
|
||||||
|
[ 'swshop' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/swshop/.package',
|
||||||
|
[ 'turtle' ] = 'https://raw.githubusercontent.com/kepler155c/opus-apps/develop-1.8/turtle/.package',
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user