mirror of
https://github.com/kepler155c/opus
synced 2025-10-22 03:07:40 +00:00
transition to kernel
This commit is contained in:
@@ -366,13 +366,15 @@ function page:eventHandler(event)
|
||||
|
||||
elseif event.type == 'lua' then
|
||||
multishell.openTab({
|
||||
path = 'sys/apps/Lua.lua',
|
||||
path ='sys/apps/shell',
|
||||
args = { 'sys/apps/Lua.lua' },
|
||||
focused = true,
|
||||
})
|
||||
|
||||
elseif event.type == 'files' then
|
||||
multishell.openTab({
|
||||
path = 'sys/apps/Files.lua',
|
||||
path ='sys/apps/shell',
|
||||
args = { 'sys/apps/Files.lua' },
|
||||
focused = true,
|
||||
})
|
||||
|
||||
|
@@ -1,8 +1,6 @@
|
||||
_G.requireInjector()
|
||||
|
||||
print('require event')
|
||||
local Event = require('event')
|
||||
print('require util')
|
||||
local Util = require('util')
|
||||
|
||||
local device = _G.device
|
||||
@@ -11,7 +9,6 @@ local network = _G.network
|
||||
local os = _G.os
|
||||
local printError = _G.printError
|
||||
|
||||
print('check wireless_modem')
|
||||
if not device.wireless_modem then
|
||||
return
|
||||
end
|
||||
|
Reference in New Issue
Block a user