transition to kernel
This commit is contained in:
@@ -10,13 +10,10 @@ local Terminal = require('terminal')
|
||||
local Util = require('util')
|
||||
|
||||
local colors = _G.colors
|
||||
local multishell = _ENV.multishell
|
||||
local os = _G.os
|
||||
local term = _G.term
|
||||
local turtle = _G.turtle
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Crafter')
|
||||
|
||||
local config = {
|
||||
computerFacing = 'north',
|
||||
monitor = 'type/monitor',
|
||||
@@ -6,11 +6,8 @@ local UI = require('ui')
|
||||
local Util = require('util')
|
||||
|
||||
local colors = _G.colors
|
||||
local multishell = _ENV.multishell
|
||||
local peripheral = _G.peripheral
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Devices')
|
||||
|
||||
--[[ -- PeripheralsPage -- ]] --
|
||||
local peripheralsPage = UI.Page {
|
||||
grid = UI.ScrollingGrid {
|
||||
@@ -7,7 +7,6 @@ local Util = require('util')
|
||||
local multishell = _ENV.multishell
|
||||
local os = _G.os
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Events')
|
||||
UI:configure('Events', ...)
|
||||
|
||||
local page = UI.Page {
|
||||
|
||||
@@ -7,10 +7,6 @@ local colors = _G.colors
|
||||
local device = _G.device
|
||||
local turtle = _G.turtle
|
||||
|
||||
local multishell = _ENV.multishell
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Music')
|
||||
|
||||
if not turtle then
|
||||
error('This program can only be run on a turtle')
|
||||
end
|
||||
@@ -8,14 +8,12 @@ local Util = require('util')
|
||||
|
||||
local colors = _G.colors
|
||||
local fs = _G.fs
|
||||
local multishell = _ENV.multishell
|
||||
local os = _G.os
|
||||
local shell = _ENV.shell
|
||||
|
||||
local GROUPS_PATH = 'usr/groups'
|
||||
local SCRIPTS_PATH = 'usr/etc/scripts'
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Script')
|
||||
UI:configure('script', ...)
|
||||
|
||||
local config = {
|
||||
|
||||
@@ -16,7 +16,6 @@ local os = _G.os
|
||||
local shell = _ENV.shell
|
||||
local term = _G.term
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Turtles')
|
||||
UI.Button.defaults.focusIndicator = ' '
|
||||
UI:configure('Turtles', ...)
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ local Util = require('util')
|
||||
|
||||
local colors = _G.colors
|
||||
local fs = _G.fs
|
||||
local multishell = _ENV.multishell
|
||||
|
||||
local BUILDER_DIR = 'usr/builder'
|
||||
|
||||
@@ -748,8 +747,6 @@ if not Builder.itemAdapter then
|
||||
error('A chest or ME interface must be below turtle')
|
||||
end
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Builder')
|
||||
|
||||
subDB:load()
|
||||
|
||||
UI.term:reset()
|
||||
|
||||
@@ -20,7 +20,9 @@ local peripheral = _G.peripheral
|
||||
local term = _G.term
|
||||
local turtle = _G.turtle
|
||||
|
||||
multishell.setTitle(multishell.getCurrent(), 'Resource Manager')
|
||||
if multishell then
|
||||
multishell.setTitle(multishell.getCurrent(), 'Resource Manager')
|
||||
end
|
||||
|
||||
local config = {
|
||||
computerFacing = 'north', -- direction turtle is facing
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
forced fstab overwrite
|
||||
Reference in New Issue
Block a user